Skip to content

Instantly share code, notes, and snippets.

@walter
Created November 27, 2018 22:59
Show Gist options
  • Save walter/a2f0b45222836256e079934a4dc7d489 to your computer and use it in GitHub Desktop.
Save walter/a2f0b45222836256e079934a4dc7d489 to your computer and use it in GitHub Desktop.
############################################################
# 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