Skip to content

Commit

Permalink
Add[build]: makefile for collecting builds and os'
Browse files Browse the repository at this point in the history
  • Loading branch information
teesloane committed Jan 30, 2023
1 parent b4d0966 commit b299663
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,24 @@ install_locally: build cp_to_bin
build_linux:
cargo zigbuild --release --target x86_64-unknown-linux-gnu

build_mac_m1:
cargo build --release

build_mac_intel:
cargo build --release --target x86_64-apple-darwin

collect_builds:
cp target/release/esker out/esker
cd out; zip esker_mac_arm.zip esker
rm out/esker

cp target/x86_64-unknown-linux-gnu/release/esker out/esker
cd out; zip esker_x86_64-unknown-linux-gnu.zip esker
rm out/esker

cp target/x86_64-apple-darwin/release/esker out/esker
cd out; zip x86_64-apple-darwin.zip esker
rm out/esker

# == Test Site Cmds ==

Expand Down

0 comments on commit b299663

Please sign in to comment.