-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
36 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
# This justfile can be used with just: https://crates.io/crates/just
setup:
cargo install --locked trunk
frontend-build:
cd desktop/frontend; trunk build
frontend-release:
cd desktop/frontend; trunk build --release
frontend-watch:
cd desktop/frontend; trunk watch
build: frontend-build rust-build
release: frontend-release
cargo build --release --all-features --bin millenium-player
rust-build:
cargo build --bin millenium-player
rust-check-fmt:
cargo fmt --check
rust-test:
cargo test --all-features
rust-clippy:
cargo clippy --all-features
test: rust-check-fmt rust-clippy frontend-build rust-test
run: frontend-build
cargo run --bin millenium-player -- simple
run-hydrate: frontend-build
cargo run --bin millenium-player -- simple ./test-data/hydrate/hydrate.mp3
clean:
cd desktop/frontend; trunk clean
cargo clean