forked from ChainSafe/forest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (43 loc) · 1021 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
41
42
43
44
45
46
47
48
49
50
51
52
clean-all:
cargo clean
clean:
@echo "Cleaning local packages..."
@cargo clean -p forest
@cargo clean -p node
@cargo clean -p clock
@cargo clean -p forest_libp2p
@cargo clean -p blockchain
@cargo clean -p forest_blocks
@cargo clean -p chain_sync
@cargo clean -p vm
@cargo clean -p forest_address
@cargo clean -p actor
@cargo clean -p forest_message
@cargo clean -p runtime
@cargo clean -p state_tree
@cargo clean -p state_manager
@cargo clean -p interpreter
@cargo clean -p crypto
@cargo clean -p forest_encoding
@cargo clean -p forest_cid
@cargo clean -p forest_ipld
@cargo clean -p ipld_hamt
@cargo clean -p ipld_amt
@cargo clean -p forest_bigint
@echo "Done cleaning."
lint: license clean
cargo fmt
cargo clippy -- -D warnings
install:
cargo install --path forest
build:
cargo build
release:
cargo build --release
test:
cargo test --all-features
license:
./scripts/add_license.sh
docs:
cargo doc --no-deps --all-features
.PHONY: clean clean-all lint build release test license