forked from mherrmann/fbs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented custom directory structure
This PR implements a custom directory structure for fbs. Note: the previous directory structure is still used by default. Implementation details ---------------------- A customized directory structure is implemented as follows: - Default directories are configured in _defaults/src/build/settings/base.json - If the file `fbs_directories.json` in the root directory exists it will be read by fbs. Here, custom paths can be set, with the following options - python_dir : Directory of the python code - icons_dir : Directory of the icons - resources_dir: Directory of other resources.py - settings_dir: Directory of the fbs settings - freeze_config_dir: Configuration files for the freeze command - Eventually, the remaining fbs settings are read (either from the default or user configured path) I had to alter the check for the root directory, as it assumed a fixed directory structure. Now, it will check for the default settings path or the existence of the fbs_directories.json file. Testing ------- I tested the functionality on the fbs test app, that is created by the fbs tutorial. I tested the commands `run`, `freeze` and `installer` successfully. I tested only on windows though. Mac and Linux are yet untested. Closes mherrmann#268
- Loading branch information
1 parent
8ed25c1
commit 210e2cd
Showing
11 changed files
with
65 additions
and
35 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
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
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
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
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
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