-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generator: accept multiple .py files as input
The types.py file in the Subiquity tree is getting difficult to maintain and it would be ideal to split it into multiple files going forward. Ensure that the generator script can parse content from multiple files. NOTE: Previously the syntax `./generator.py file1 file2` would parse "file1" and output to "file2". Now, this syntax would parse "file1" and "file2" ; and would output to the standard output. The generator will look for specific file extensions when reading (i.e., *.py) and writing (i.e., *.dart) so there should be no risk of overwriting important files if using the generator incorrectly. Signed-off-by: Olivier Gayot <[email protected]>
- Loading branch information
Showing
2 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters