labast/build.bat

9 lines
276 B
Batchfile
Raw Permalink Normal View History

2024-02-05 07:05:48 +00:00
@echo off
2024-02-05 12:13:44 +00:00
echo Building for Windows...
2024-02-05 07:05:48 +00:00
cargo build --release
2024-02-05 12:13:44 +00:00
echo Building for Linux...
2024-02-05 07:05:48 +00:00
cargo zigbuild --release --target x86_64-unknown-linux-gnu
2024-02-05 12:13:44 +00:00
echo Copy to bin...
2024-02-05 07:05:48 +00:00
copy target\release\labast.exe bin\ /Y
2024-02-05 12:13:44 +00:00
copy target\x86_64-unknown-linux-gnu\release\labast bin\ /Y
echo Done!