-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
82 lines (61 loc) · 1.3 KB
/
Copy pathjustfile
File metadata and controls
82 lines (61 loc) · 1.3 KB
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
78
79
80
81
82
set dotenv-load := true
alias a := all
alias b := build
alias c := check
alias d := deny
alias f := fmt
alias fc := fmt-check
alias i := install
alias l := lint
alias lf := lint-fix
alias r := run
alias re := review
alias t := test
default:
just --choose
aud:
cargo audit --all-targets
build:
cargo build
check:
cargo check --all-targets
deny:
cargo deny check --hide-inclusion-graph
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all -- --check
install:
cargo install --path .
lint:
cargo clippy --all-targets
lint-fix:
cargo clippy --fix --allow-dirty --allow-staged
publish-dry:
cargo publish --dry-run --allow-dirty
run CMD="console" *FLAGS:
cargo run -- {{CMD}} {{FLAGS}}
query ARGS *FLAGS:
cargo run -- query {{ARGS}} {{FLAGS}}
review *FLAGS:
cargo insta test --review {{FLAGS}}
test:
cargo test
[working-directory: 'local/neo4j']
neo4j-up:
docker compose up -d --wait
docker exec neo4j-local /docker-entrypoint-initdb.d/init.sh
[working-directory: 'local/neo4j']
neo4j-ps:
docker compose ps
[working-directory: 'local/neo4j']
neo4j-logs:
docker compose logs
[working-directory: 'local/neo4j']
neo4j-down:
docker compose down -v
all:
cargo check --all-targets
cargo fmt --all
cargo clippy --all-targets
cargo test