Improved workspace scripts
This commit is contained in:
parent
4edda07cee
commit
f4c340796e
@ -12,6 +12,14 @@
|
|||||||
"level-generator": "tools/level_generator/level-generator.json",
|
"level-generator": "tools/level_generator/level-generator.json",
|
||||||
"ontime-calculator": "tools/ontime_calculator/ontime-calculator.json"
|
"ontime-calculator": "tools/ontime_calculator/ontime-calculator.json"
|
||||||
},
|
},
|
||||||
"Scripts": {}
|
"Scripts": {
|
||||||
|
"pre-start": "echo '!WARNING! You should start with the right environment!\nRun cpl start-ENV\nSee workspace for more details.'; sleep 2",
|
||||||
|
"pre-start-dev": "echo 'development:'; ",
|
||||||
|
"start-dev": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start",
|
||||||
|
"pre-start-stage": "echo 'staging:'; ",
|
||||||
|
"start-stage": "export GISMO_ENVIRONMENT=staging; export GISMO_NAME=Gismo-test; cpl start",
|
||||||
|
"pre-start-prod": "echo 'production:'; ",
|
||||||
|
"start-prod": "export GISMO_ENVIRONMENT=production; export GISMO_NAME=Gismo-prod; cpl start"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
export GISMO_ENVIRONMENT=development
|
|
||||||
cpl start
|
|
Reference in New Issue
Block a user