Skip to content

Commit

Permalink
Fix unknown command regression #52
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankSpruce committed Jan 17, 2025
1 parent 2f33833 commit de45e7d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gersemirc.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/BlankSpruce/gersemi/0.18.1/gersemi/configuration.schema.json
# yaml-language-server: $schema=https://raw.githubusercontent.com/BlankSpruce/gersemi/0.18.2/gersemi/configuration.schema.json

definitions: []
disable_formatting: false
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## [0.18.2] 2025-01-17
### Fixed
- Fix "unknown command" regression. (#52)

## [0.18.1] 2025-01-13
### Fixed
- Proper formatting of first `<artifact-option>...` group in `INSTALL(TARGETS)` command. (#51)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ You can use gersemi with a pre-commit hook by adding the following to `.pre-comm
```yaml
repos:
- repo: https://github.com/BlankSpruce/gersemi
rev: 0.18.1
rev: 0.18.2
hooks:
- id: gersemi
```
Expand All @@ -145,7 +145,7 @@ If you want to use extensions with pre-commit list them with [`additional_depend
```yaml
repos:
- repo: https://github.com/BlankSpruce/gersemi
rev: 0.18.1
rev: 0.18.2
hooks:
- id: gersemi
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion gersemi/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
__license__ = "MPL 2.0"
__title__ = "gersemi"
__url__ = "https://github.com/BlankSpruce/gersemi"
__version__ = "0.18.1"
__version__ = "0.18.2"
18 changes: 18 additions & 0 deletions gersemi/builtin_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,10 @@
"one_value_keywords": ["INPUT", "DESTINATION"],
"multi_value_keywords": ["PATTERNS"],
},
"REMOVE": {},
"REMOVE_RECURSE": {},
"TOUCH": {},
"TOUCH_NOCREATE": {},
},
},
"find_file": {
Expand Down Expand Up @@ -1069,6 +1073,7 @@
"front_positional_arguments": ["<variable>"],
"options": ["CACHE", "PARENT_SCOPE"],
},
"variable_watch": {},
#
## Project Commands
#
Expand Down Expand Up @@ -1218,6 +1223,7 @@
"multi_value_keywords": ["BRIEF_DOCS", "FULL_DOCS"],
},
"enable_language": {},
"enable_testing": {},
"export": {
"signatures": {
"EXPORT": {
Expand Down Expand Up @@ -1879,6 +1885,9 @@
# (&)
"check_library_exists": {},
#
### CheckLinkerFlag
"check_linker_flag": {},
#
### CheckOBJCCompilerFlag
"check_objc_compiler_flag": {},
#
Expand All @@ -1898,6 +1907,9 @@
"multi_value_keywords": ["FAIL_REGEX"],
},
#
### CheckOBJCXXSourceRuns
"check_objcxx_source_runs": {},
#
### CheckPIESupported
"check_pie_supported": {
"one_value_keywords": ["OUTPUT_VARIABLE"],
Expand Down Expand Up @@ -2135,6 +2147,9 @@
],
},
#
### CPackIFWConfigureFile
"cpack_ifw_configure_file": {},
#
### CPack
#### no commands
#
Expand Down Expand Up @@ -2457,6 +2472,7 @@
"CUSTOM_CONTENT_FROM_VARIABLE",
],
},
"add_compiler_export_flags": {},
#
### GetPrerequisites
"get_prerequisites": {},
Expand Down Expand Up @@ -2698,6 +2714,7 @@
"flex_target": {
"one_value_keywords": ["COMPILE_FLAGS", "DEFINES_FILE"],
},
"add_flex_bison_dependency": {},
#
### FindFLTK2
#
Expand Down Expand Up @@ -3024,6 +3041,7 @@
"qt4_add_resources": {
"multi_value_keywords": ["OPTIONS"],
},
"qt4_add_translation": {},
"qt4_generate_moc": {
"one_value_keywords": ["TARGET"],
},
Expand Down

0 comments on commit de45e7d

Please sign in to comment.