ms/packages/nashorn/build.sh

13 lines
245 B
Bash
Raw Normal View History

2019-11-09 10:34:54 +00:00
# sponge bukkit jdk
TYPE=jdk
TARGET=../types/dist/typings
npx tsc src/build.ts --outDir dist
cd dist
rm -rf temp
mkdir -p temp
node build.js ${TYPE}
cd ../
2019-11-09 10:34:54 +00:00
rm -rf ${TARGET}/${TYPE}
mkdir -p ${TARGET}/${TYPE}
cp dist/temp/* ${TARGET}/${TYPE}/ -R