Files
leaf/Makefile
T

22 lines
631 B
Makefile

ios:
cargo lipo -p leaf-mobile --release --targets aarch64-apple-ios --manifest-path leaf-mobile/Cargo.toml
cbindgen --config leaf-mobile/cbindgen.toml leaf-mobile/src/lib.rs > target/universal/release/leaf.h
ios-dev:
cargo lipo -p leaf-mobile --targets aarch64-apple-ios --manifest-path leaf-mobile/Cargo.toml
cbindgen --config leaf-mobile/cbindgen.toml leaf-mobile/src/lib.rs > target/universal/debug/leaf.h
local:
cargo build -p leaf-bin --release
local-dev:
cargo build -p leaf-bin
test:
cargo test -p leaf
# Force a re-generation of protobuf files.
proto-gen:
touch leaf/build.rs
PROTO_GEN=1 cargo build -p leaf