mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 22:12:53 +01:00
This commit implements the suggestions made by @sitiom on Discord: https://discord.com/channels/898554690126630914/898554690608967786/1097403455267667968 re #324
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"]
|
|
export RUST_BACKTRACE := "full"
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
fmt:
|
|
cargo +nightly fmt
|
|
cargo +stable clippy
|
|
prettier --write README.md
|
|
prettier --write .goreleaser.yml
|
|
prettier --write .github/dependabot.yml
|
|
prettier --write .github/FUNDING.yml
|
|
prettier --write .github/workflows/windows.yaml
|
|
|
|
install-komorebic:
|
|
cargo +stable install --path komorebic --locked
|
|
|
|
install-komorebi:
|
|
cargo +stable install --path komorebi --locked
|
|
|
|
install:
|
|
just install-komorebic
|
|
just install-komorebi
|
|
komorebic ahk-asc '~/komorebi-application-specific-configuration/applications.yaml'
|
|
komorebic pwsh-asc '~/komorebi-application-specific-configuration/applications.yaml'
|
|
cat '~/.config/komorebi/komorebi.generated.ps1' >komorebi.generated.ps1
|
|
cat '~/.config/komorebi/komorebi.generated.ahk' >komorebi.generated.ahk
|
|
cat '~/.config/komorebi/komorebic.lib_newV2.ahk' >komorebic.lib.ahk
|
|
|
|
run:
|
|
just install-komorebic
|
|
cargo +stable run --bin komorebi --locked -- -a
|
|
|
|
warn $RUST_LOG="warn":
|
|
just run
|
|
|
|
info $RUST_LOG="info":
|
|
just run
|
|
|
|
debug $RUST_LOG="debug":
|
|
just run
|
|
|
|
trace $RUST_LOG="trace":
|
|
just run
|
|
|
|
deadlock $RUST_LOG="trace":
|
|
just install-komorebic
|
|
cargo +stable run --bin komorebi --locked --features deadlock_detection
|