@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!