blob: 5ca101a43bb8602ee20718a04a7fb42c3963bb58 (
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"
git submodule update --init --recursive
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"
|