-
Notifications
You must be signed in to change notification settings - Fork 12
/
justfile
60 lines (41 loc) · 961 Bytes
/
justfile
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
devs:
rustup toolchain install 1.79.0 --no-self-update --component clippy,rustfmt
rustup toolchain install nightly-2024-06-14 --no-self-update --component clippy,rustfmt
build:
cargo build --all
check:
cargo check --all
fmt:
cargo +nightly-2024-06-14 fmt --all
fmt-check:
cargo +nightly-2024-06-14 fmt --all --check
test:
cargo test
clippy:
cargo clippy
clippy-fix:
cargo clippy --all --fix --allow-dirty --allow-staged
docker-up:
docker compose up
docker-up-d:
docker compose up -d
clean:
cargo clean
run-chain:
(cd chain && ./run.sh)
test-chain:
(cd chain && ./run-test.sh)
run-governance:
(cd governance && ./run.sh)
run-parameters:
(cd parameters && ./run.sh)
run-pos:
(cd pos && ./run.sh)
run-rewards:
(cd rewards && ./run.sh)
run-seeder:
(cd seeder && ./run.sh)
run-transactions:
(cd transactions && ./run.sh)
run-webserver:
(cd webserver && ./run.sh)