Skip to content

Commit

Permalink
Imprv macos makefile target
Browse files Browse the repository at this point in the history
  • Loading branch information
MadL1me committed May 1, 2024
1 parent 21ebff6 commit 93f89e1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
build-add: build-linux build-mac build-x86_64_windows
build-all: build-linux build-x86_64-apple-darwin build-x86_64-pc-windows-gnu

build-linux:
cargo build --release --target=xy
cargo build --release --target=x86_64-unknown-linux-gnu

build-mac:
cargo build --release --target=x86_64-pc-windows-gnu
build-x86_64-apple-darwin:
cargo build --release --target=x86_64-apple-darwin
cd target/x86_64-apple-darwin/release && tar -czf hemlock-mac.tar.gz hemlock
cd target/x86_64-apple-darwin/release && shasum -a 256 hemlock-mac.tar.gz

build-x86_64_windows:
build-x86_64-pc-windows-gnu:
cargo build --release --target=x86_64-pc-windows-gnu

calc-sha:
Expand Down

0 comments on commit 93f89e1

Please sign in to comment.