22 lines
521 B
Makefile
22 lines
521 B
Makefile
default:
|
|
just --list
|
|
build:
|
|
cmake -DQT_QML_GENERATE_QMLLS_INI=ON -DCMAKE_BUILD_TYPE=Debug -B bld/ .
|
|
make -j8 --dir bld/
|
|
rm -rf ~/.cache/lumina/lumina/qmlcache/
|
|
run:
|
|
RUST_LOG=debug ./bld/bin/lumina
|
|
lint:
|
|
cargo clippy
|
|
clean:
|
|
cargo clean
|
|
rm -rf bld/
|
|
test:
|
|
RUST_LOG=debug cargo test --benches --tests --all-features -- --nocapture
|
|
|
|
testcore:
|
|
RUST_LOG=debug cargo test -p lumina_core --benches --tests --all-features -- --nocapture
|
|
|
|
alias b := build
|
|
alias r := run
|
|
alias tc := testcore
|