dashboard.sh 249 B

1234567891011121314151617
  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 BUILD_PATH=$WORKSPACE/deploy/roles/mint/files/dashboard PUBLIC_URL=/pcd yarn build
  10. echo 'done.'
  11. exit 0