From cbb73d7c86e2c3f98f0fcf9d2d7139e21c96398a Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 29 Nov 2021 09:31:17 +0100 Subject: [PATCH] Readded scripts --- cpl-workspace.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cpl-workspace.json b/cpl-workspace.json index 10cf480..58e82c8 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -12,5 +12,15 @@ "level-generator": "tools/level_generator/level-generator.json", "ontime-calculator": "tools/ontime_calculator/ontime-calculator.json" } + }, + "Scripts": { + "pre-build": "cd ../gismo_cli; echo 'gismo-cli:'; cpl build; echo 'gismo:'", + "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" } } \ No newline at end of file