summary refs log tree commit diff
path: root/buildall.sh
blob: d28de421f6204ba5ddab93905921df1fd966eefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
echo "Welcome to the maelink CL build script"

echo "removing build folder if there already is a build there"

rm -r build/*

echo "Building windows..."
deno task build-win

echo "Building mac..."
deno task build-mac-x86
deno task build-mac-arm

echo "Building linux..."
deno task build-linux-x86
deno task build-linux-arm

echo "All platforms built, starting compression"

mkdir build/compressed

zip build/compressed/win.zip build/win.exe
zip build/compressed/mac.zip build/mac-x86 build/mac-arm

tar -kczf build/compressed/linux.tar.gz build/linux-x86 build/linux-arm
echo "All builds compressed, build finished"