-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
40 lines (27 loc) · 891 Bytes
/
Makefile
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
install-toolchain:
curl https://sh.rustup.rs -sSf | sh
rustup target add x86_64-unknown-linux-musl
clean-build: clean build
clean:
cargo clean
build:
cargo build
build-release:
cargo build --release
nightly-build:
rustup run nightly cargo build --no-default-features --features nightly
nightly-build-release:
rustup run nightly cargo build --release --no-default-features --features nightly
nightly-build-static:
rustup run nightly cargo build --release --no-default-features --features nightly --target=x86_64-unknown-linux-musl
build-static:
cargo build --target=x86_64-unknown-linux-musl --release
test:
cargo test
test-ignored:
cargo test -- --ignored
doc:
cargo doc --release -p ws -p jsonrpc-core -p libunicorn --no-deps
install:
cargo install --force
.PHONY: clean build build-release build-static clean-build test test-ignored doc install install-toolchain