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