dashboard.sh 252 B

123456789101112131415161718
  1. #!/bin/bash
  2. set -e
  3. export WORKSPACE=$PWD
  4. cd $WORKSPACE/dashboard
  5. if [ ! -d node_modules ]
  6. then
  7. yarn install
  8. fi
  9. # GENERATE_SOURCEMAP=false
  10. BUILD_PATH=$WORKSPACE/deploy/roles/mint/files/dashboard PUBLIC_URL=/pcd yarn build
  11. echo 'done.'
  12. exit 0