-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
68 lines (45 loc) · 1.08 KB
/
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
61
62
63
64
65
66
67
# build stuff
build:
cargo build
anchor build
make:
./scripts/build-all.sh .
tarball:
./scripts/ci/create-tarball.sh
clean:
cargo clean
rm -rfv bin target lib clockwork-geyser-plugin-release*
re: clean
just make
# aliases
version:
cat VERSION
solana-version:
./scripts/ci/solana-version.sh
rust-version:
bash -c 'source ./scripts/ci/rust-version.sh; echo $rust_stable'
kill:
pkill solana-test-validator
release-patch:
gh workflow run bump-release.yaml -F bump=patch
cli *args:
cargo run --bin clockwork {{args}}
localnet *args: build
cargo run --bin clockwork localnet --dev {{args}}
net:
cargo run --bin clockwork localnet --dev
logs:
less test-ledger/validator.log
tlg:
tail -f test-ledger/validator.log
watch:
cargo watch -c -x "check"
watch-cli:
cargo watch -c -x "check --bin clockwork"
# links
pr:
open https://github.com/clockwork-xyz/clockwork/pulls
actions:
open https://github.com/clockwork-xyz/clockwork/actions
releases:
open https://github.com/clockwork-xyz/clockwork/releases