Skip to content

Commit 4603668

Browse files
committed
Update windows build script
1 parent f9bce0d commit 4603668

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

release.cmd

Lines changed: 0 additions & 14 deletions
This file was deleted.

scripts/build-windows-x86_64.cmd

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SET VERSION=0.7.0
2+
3+
MKDIR release\mprocs-%VERSION%-windows-x86_64 || exit /b
4+
5+
:: Windows x64
6+
7+
cargo build --release || exit /b
8+
9+
COPY target\release\mprocs.exe release\mprocs-%VERSION%-windows-x86_64\mprocs.exe || exit /b
10+
11+
:: upx --brute release\mprocs-%VERSION%-windows-x86_64\mprocs.exe || exit /b
12+
13+
tar.exe -a -c -f release\mprocs-%VERSION%-windows-x86_64.zip -C release\mprocs-%VERSION%-windows-x86_64 mprocs.exe

0 commit comments

Comments
 (0)