2
1

cli.sh 337 B

12345678910111213141516
  1. #!/bin/bash
  2. set -eu
  3. rm -rf ./dist/server/tools/
  4. (
  5. cd ./server/tools
  6. yarn install --pure-lockfile
  7. )
  8. mkdir -p "./dist/server/tools"
  9. cp -r "./server/tools/node_modules" "./dist/server/tools"
  10. cd ./server/tools
  11. ../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:server"'