Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 4b8d595

Browse files
Merge pull request #699 from bennyhodl/justfile-diff-arch
support different arch in justfile
2 parents 4d7b94d + 630086d commit 4b8d595

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

justfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,25 @@ release:
1313
publish:
1414
wasm-pack publish --access public -t web
1515

16+
[macos]
17+
test:
18+
cargo test -p mutiny-core --target=aarch64-apple-darwin
19+
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --chrome ./mutiny-core
20+
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --chrome ./mutiny-wasm
21+
22+
[linux]
1623
test:
1724
cargo test -p mutiny-core --target=x86_64-unknown-linux-gnu
1825
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --chrome ./mutiny-core
1926
WASM_BINDGEN_TEST_TIMEOUT=120 wasm-pack test --headless --chrome ./mutiny-wasm
2027

28+
[macos]
29+
clippy:
30+
cargo clippy --all-features --tests --package mutiny-core --target=wasm32-unknown-unknown -- -D warnings
31+
cargo clippy --all-features --tests --package mutiny-core --target=aarch64-apple-darwin -- -D warnings
32+
cargo clippy --all-features --tests --package mutiny-wasm -- -D warnings
33+
34+
[linux]
2135
clippy:
2236
cargo clippy --all-features --tests --package mutiny-core --target=wasm32-unknown-unknown -- -D warnings
2337
cargo clippy --all-features --tests --package mutiny-core --target=x86_64-unknown-linux-gnu -- -D warnings

0 commit comments

Comments
 (0)