ms/packages/nashorn/build.sh
MiaoWoo dfd7182008 feat: add build script
Signed-off-by: MiaoWoo <admin@yumc.pw>
2019-09-19 19:00:35 +08:00

10 lines
175 B
Bash
Executable File

npx tsc src/build.ts --outDir dist
cd dist
rm -rf temp
mkdir -p temp
node build.js
cd ../
rm -rf src/typings
mkdir -p src/typings/bukkit
cp dist/temp/* src/typings/bukkit/ -R