-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
43 lines (30 loc) · 826 Bytes
/
justfile
File metadata and controls
43 lines (30 loc) · 826 Bytes
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
set windows-shell := ["powershell", "-NoProfile", "-Command"]
set shell := ["sh", "-c"]
default:
just dev
dev: build-tagger dev-run
[parallel]
dev-run: dev-client dev-rust
dev-client:
bun --cwd client dev
dev-rust:
cargo watch -x run -i client -i src/state/config/themes -i justfile
build:
just build-client
just build-rust
build-client:
bun --cwd client build
build-rust: build-tagger
cargo bundle --release
[working-directory('crates/tagger-compiler')]
build-tagger:
cargo run -- tags.tree -o ../../target/output/tagger.bin
test:
cargo test -- --no-capture
biome := if os_family() == "windows" { ".\\node_modules\\.bin\\biome.exe" } else { "./node_modules/.bin/biome" }
format:
{{ biome }} format --write
cargo fmt
lint:
cargo clippy
{{ biome }} lint --write