1
0
mirror of https://github.com/szdytom/nyanpasu.git synced 2025-10-19 17:10:16 +00:00
nyanpasu/build.bat
2024-01-03 21:55:40 +08:00

7 lines
222 B
Batchfile

@echo off
FOR /F "tokens=*" %%i IN ('git rev-parse --show-toplevel') DO SET "GIT_ROOT=%%i"
cd /d %GIT_ROOT%
if exist dist rmdir /s /q dist
npx ncc build -m src\index.mjs
type nyanpasu.js dist\index.mjs > dist\nyanpasu.mjs