forked from aspect-build/rules_py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
17 lines (13 loc) · 977 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
build:
cross build --release --target=x86_64-unknown-linux-musl
cross build --release --target=aarch64-unknown-linux-musl
cargo build --release
cargo build --release --target=x86_64-apple-darwin
cp target/x86_64-unknown-linux-musl/release/venv py/tools/venv_bin/bins/venv-x86_64-unknown-linux-musl
cp target/x86_64-unknown-linux-musl/release/unpack py/tools/unpack_bin/bins/unpack-x86_64-unknown-linux-musl
cp target/aarch64-unknown-linux-musl/release/venv py/tools/venv_bin/bins/venv-aarch64-unknown-linux-musl
cp target/aarch64-unknown-linux-musl/release/unpack py/tools/unpack_bin/bins/unpack-aarch64-unknown-linux-musl
cp target/release/venv py/tools/venv_bin/bins/venv-aarch64-apple-darwin
cp target/release/unpack py/tools/unpack_bin/bins/unpack-aarch64-apple-darwin
cp target/x86_64-apple-darwin/release/venv py/tools/venv_bin/bins/venv-x86_64-apple-darwin
cp target/x86_64-apple-darwin/release/unpack py/tools/unpack_bin/bins/unpack-x86_64-apple-darwin