-
Notifications
You must be signed in to change notification settings - Fork 2
/
justfile
45 lines (37 loc) · 943 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
build:
cargo build
build-refactor:
# requires cargo-limit to be installed
reset
(cargo lbuild --color=always 2>&1) | less -R
test:
cargo test
test-refactor:
# requires cargo-limit to be installed
reset
(cargo ltest --color=always 2>&1) | less -R
watchexec target:
watchexec \
-c \
-e toml,rs \
-w justfile \
-w ../portfolio_core/src \
-w ../portfolio_core/Cargo.toml \
-w ../portfolio_http/src \
-w ../portfolio_http/Cargo.toml \
-w ../portfolio_backend_postgres/src \
-w ../portfolio_backend_postgres/Cargo.toml \
-w ../portfolio_objectstore/src \
-w ../portfolio_objectstore/Cargo.toml \
-w ../oci-distribution-test/src \
-w ../oci-distribution-test/Cargo.toml \
--restart \
just {{target}}
we-build-refactor:
just watchexec build-refactor
we-build:
just watchexec build
we-test-refactor:
just watchexec test-refactor
we-test:
just watchexec test