This repository has been archived on 2022-07-14. You can view files and clone it, but cannot push or open issues or pull requests.
sh_gismo/cpl-workspace.json

26 lines
1.5 KiB
JSON

{
"WorkspaceSettings": {
"DefaultProject": "gismo",
"Projects": {
"gismo": "src/gismo/gismo.json",
"gismo-cli": "src/gismo_cli/gismo-cli.json",
"gismo-core": "src/gismo_core/gismo-core.json",
"gismo-db": "src/gismo_db/gismo_db.json",
"cpl-extension": "src/cpl_extension/cpl-extension.json",
"modules-core": "src/modules_core/modules-core.json",
"boot-log": "src/modules/boot_log/boot-log.json",
"level-generator": "tools/level_generator/level-generator.json",
"ontime-calculator": "tools/ontime_calculator/ontime-calculator.json"
},
"Scripts": {
"build-all": "cd src/gismo; echo \"gismo:\"; cpl build; cd ../gismo_cli; echo \"gismo-cli:\"; cpl build; cd ../gismo_core; echo \"gismo-core:\"; cpl build; cd ../gismo_db; echo \"gismo-db:\"; cpl build; cd ../cpl_extension; echo \"cpl_extension:\"; cpl build; cd ../modules_core; echo \"modules-core:\"; cpl build;",
"pre-start": "echo '!WARNING! You should start with the right environment!\nRun cpl start-ENV\nSee workspace for more details.'; sleep 2",
"pre-dev-start": "echo 'development:'; ",
"dev-start": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start",
"pre-stage-start": "echo 'staging:'; ",
"stage-start": "export GISMO_ENVIRONMENT=staging; export GISMO_NAME=Gismo-test; cpl start",
"pre-prod-start": "echo 'production:'; ",
"prod-start": "export GISMO_ENVIRONMENT=production; export GISMO_NAME=Gismo-prod; cpl start"
}
}
}