-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (27 loc) · 923 Bytes
/
Makefile
File metadata and controls
40 lines (27 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
build:
cargo build -r
check:
cargo check -r --all
test-all:
cargo test -r --workspace --all-features
test:
cargo test -r --workspace
accept:
cargo insta accept --all
fmt:
cargo fmt --all
clippy-all:
cargo clippy --workspace --all-features --benches --examples --tests -- -D warnings
clippy:
cargo clippy --workspace -- -D warnings
fix:
cargo clippy --workspace --all-features --benches --examples --tests --fix --allow-dirty
# SDK helpers
.PHONY: sdk-node-build sdk-python-develop sdk-python-build sdks-build-all
sdk-node-build:
cd sdks/node && npm install && npm run build
sdk-python-develop:
cd sdks/python && python -m venv .venv && . .venv/Scripts/Activate.ps1 && pip install -U pip maturin && maturin develop
sdk-python-build:
cd sdks/python && python -m venv .venv && . .venv/Scripts/Activate.ps1 && pip install -U pip maturin && maturin build
sdks-build-all: sdk-node-build sdk-python-build