Created
November 27, 2018 22:59
-
-
Save walter/a2f0b45222836256e079934a4dc7d489 to your computer and use it in GitHub Desktop.
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
############################################################ | |
# setup & build client # | |
############################################################ | |
# install node | |
. $scriptDir/install-node.sh | |
if [ "$?" != "0" ]; then echo "node wasn't installed properly, try deleting the workspace and rerunning the build"; exit 1; fi; | |
# setup dependency managers | |
. $scriptDir/install-yarn.sh | |
if [ "$?" != "0" ]; then echo "yarn wasn't installed properly, try deleting the workspace and rerunning the build"; exit 1; fi; | |
## install dependencies | |
cd $startDir/path/to/ember-project | |
yarn install | |
if [ "$?" != "0" ]; then echo "yarn hasn't worked properly, try deleting the workspace and rerunning the build"; exit 1; fi; | |
# build ember client | |
. $scriptDir/build-client.sh $ember_build_profile | |
if [ "$?" != "0" ]; then echo "client hasn't installed correctly, try deleting the workspace and rerunning the build"; exit 1; fi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment