-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildAll.sh
19 lines (13 loc) · 948 Bytes
/
buildAll.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
rm -r bin
mkdir -p bin/jevkoml-linux-x64
mkdir -p bin/jevkoml-windows-x64
mkdir -p bin/jevkoml-macos-x64
mkdir -p bin/jevkoml-macos-arm
deno compile --target x86_64-unknown-linux-gnu --output bin/jevkoml-linux-x64/jevkoml --allow-read --allow-run --allow-write jevkoml.js
deno compile --target x86_64-pc-windows-msvc --output bin/jevkoml-windows-x64/jevkoml --allow-read --allow-run --allow-write jevkoml.js
deno compile --target x86_64-apple-darwin --output bin/jevkoml-macos-x64/jevkoml --allow-read --allow-run --allow-write jevkoml.js
deno compile --target aarch64-apple-darwin --output bin/jevkoml-macos-arm/jevkoml --allow-read --allow-run --allow-write jevkoml.js
zip -j -9 bin/jevkoml-linux-x64.zip bin/jevkoml-linux-x64/jevkoml
zip -j -9 bin/jevkoml-windows-x64.zip bin/jevkoml-windows-x64/jevkoml.exe
zip -j -9 bin/jevkoml-macos-x64.zip bin/jevkoml-macos-x64/jevkoml
zip -j -9 bin/jevkoml-macos-arm.zip bin/jevkoml-macos-arm/jevkoml