2020-02-19 02:56:24 -05:00
|
|
|
#!/bin/bash
|
2019-07-11 11:23:24 -04:00
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
rm -rf ./dist/server/tools/
|
|
|
|
|
|
|
|
(
|
|
|
|
cd ./server/tools
|
|
|
|
yarn install --pure-lockfile
|
|
|
|
)
|
|
|
|
|
|
|
|
mkdir -p "./dist/server/tools"
|
|
|
|
cp -r "./server/tools/node_modules" "./dist/server/tools"
|
|
|
|
|
2022-01-03 11:13:11 -05:00
|
|
|
cd ./server/tools
|
|
|
|
../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:all"'
|