mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 14:48:34 +01:00
This commit migrates big chunks of code from komorebi for Windows which deal with state related to the Workspace struct, Layouts and the Arrangement trait. Layout remains an enum, but only the Layout::Default variant with DefaultLayout has been migrated because there are no plans to support EOL features in komorebi for Mac (custom layouts). The code for updating the layout in main.rs has been moved to Workspace.update, which is now called from main.rs instead. As part of this initial migration of code, this project has been restructured a little to match the layout of komorebi for Windows to minimize my own confusion.
38 lines
759 B
Makefile
38 lines
759 B
Makefile
export RUST_BACKTRACE := "full"
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
fmt:
|
|
cargo +nightly fmt
|
|
cargo +stable clippy
|
|
prettier --write README.md
|
|
|
|
install target:
|
|
cargo +stable install --path {{ target }} --locked
|
|
|
|
build target:
|
|
cargo +stable build --package {{ target }} --locked --release
|
|
|
|
run target:
|
|
cargo +stable run --bin {{ target }} --locked
|
|
|
|
warn target $RUST_LOG="warn":
|
|
just run {{ target }}
|
|
|
|
info target $RUST_LOG="info":
|
|
just run {{ target }}
|
|
|
|
debug target $RUST_LOG="debug":
|
|
just run {{ target }}
|
|
|
|
trace target $RUST_LOG="trace":
|
|
just run {{ target }}
|
|
|
|
depgen:
|
|
cargo deny check
|
|
cargo deny list --format json | jq 'del(.unlicensed)' > dependencies.json
|
|
|
|
push:
|
|
git push origin master
|
|
git push komocorp master
|