-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
77 lines (58 loc) · 1.33 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# -------------------------------------jenkins-------------------------------------
.PHONY: kill
kill:
bash scripts/kill.sh
.PHONY: purge
purge:
bash scripts/purge.sh
# -------------------------------------development-------------------------------------
.PHONY: submodule
submodule:
git submodule update --init --recursive
.PHONY: install
install:
cargo install --force --path .
.PHONY: time
time:
cargo +nightly build -Z timings
.PHONY: clear
clear:
rm -rf target
.PHONY: echo
echo:
echo hello
.PHONY: debug
debug:
cargo build
.PHONY: build
build:
cargo build
.PHONY: test
test:
SKIP_WASM_BUILD= cargo test
.PHONY: check
check:
SKIP_WASM_BUILD= cargo check --all-targets --features runtime-benchmarks
.PHONY: benchmarks
benchmarks:
cargo build --bin dico-dev --features runtime-benchmarks
.PHONY: build-dev
build-dev:
cargo build --bin dico-dev
.PHONY: release
release: clear
cargo build --release
.PHONY: fix
fix:
pre-commit run --all-files
.PHONY: dev
dev:
RUST_LOG=runtime=debug ./target/debug/dico-dev --dev --ws-external
# -------------------------------------cargo-------------------------------------
.PHONY: meta
meta:
cargo metadata --verbose --format-version 1 --all-features
# -------------------------------------git-------------------------------------
.PHONY: diff
diff:
git diff --name-only --diff-filter=U