ms/packages/nashorn/build.sh

13 lines
255 B
Bash
Raw Normal View History

# sponge bukkit jdk bungee
TYPE=bungee
2019-11-09 10:34:54 +00:00
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