-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
41 lines (28 loc) · 878 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
test-lib:
cargo test --lib
test-market:
ODRA_MODULE=Cep18 cargo odra test -- --test test_casper_shorts
test-market-casper:
ODRA_MODULE=Cep18 cargo odra test -b casper -- --test test_casper_shorts
clippy:
cargo clippy --all-targets -- -D warnings
lint:
cargo fmt
check-lint: clippy
cargo fmt -- --check
plots:
cargo run -p casper-shorts-charts
deploy-contracts:
cargo run -p casper-shorts-client deploy-contracts
set-config:
cargo run -p casper-shorts-client set-config
update-price:
cargo run -p casper-shorts-client update-price
update-price-deamon SEC:
cargo run -p casper-shorts-client update-price-deamon {{SEC}}
print-balances:
cargo run -p casper-shorts-client print-balances
go-long:
cargo run -p casper-shorts-client go-long
random-bot SEC:
cargo run -p casper-shorts-client run-bot random -i {{SEC}}