labast/build.bat
n3tael d6e290f916
обновление 1.0.5
* стек теперь не бесконечный. задать можно через аргумент cli (максимум 65535, дефолт: 256)
2024-02-07 23:38:04 +02:00

11 lines
429 B
Batchfile

@echo off
echo Building for Windows...
cargo build --release
echo Building for Linux...
cargo zigbuild --release --target x86_64-unknown-linux-gnu
echo Copy binaries to bin folder...
copy target\release\labast.exe bin\ /Y
copy target\x86_64-unknown-linux-gnu\release\labast bin\ /Y
echo Creating source code tar.gz archive...
tar --exclude="./bin" --exclude="./target" --exclude=".git" -cvzf bin\labast-latest.tar.gz *
echo Done!