Skip to content

Commit

Permalink
update build-windows.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm authored Jun 28, 2023
1 parent 6d88c0a commit 23cf21c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/build-windows.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
EXE_NAME="halloy.exe"
TARGET="x86_64-pc-windows-msvc"

# build binary
rustup target add x86_64-pc-windows-msvc
cargo build --release --target=x86_64-pc-windows-msvc
rustup target add $TARGET
cargo build --release --target=$TARGET
cp -fp target/$TARGET/release/$EXE_NAME target/release

0 comments on commit 23cf21c

Please sign in to comment.