-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.bat
11 lines (8 loc) · 865 Bytes
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
deno compile --target x86_64-pc-windows-msvc -o md2blog --allow-net=localhost --allow-read --allow-write ./main.ts
powershell Compress-Archive -Path md2blog.exe -DestinationPath md2blog-x86_64-pc-windows-msvc.zip -Force
deno compile --target x86_64-unknown-linux-gnu -o md2blog --allow-net=localhost --allow-read --allow-write ./main.ts
powershell Compress-Archive -Path md2blog -DestinationPath md2blog-x86_64-unknown-linux-gnu.zip -Force
deno compile --target x86_64-apple-darwin -o md2blog --allow-net=localhost --allow-read --allow-write ./main.ts
powershell Compress-Archive -Path md2blog -DestinationPath md2blog-x86_64-apple-darwin.zip -Force
deno compile --target aarch64-apple-darwin -o md2blog --allow-net=localhost --allow-read --allow-write ./main.ts
powershell Compress-Archive -Path md2blog -DestinationPath md2blog-aarch64-apple-darwin.zip -Force