mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-03 09:24:20 +02:00
This commit adds a command to generate application-specific configuration in the format of a PowerShell ps1 file, as well as the ability to automatically launch a komorebi.ps1 configuration file on startup. If a komorebi.ps1 file is found and launched at startup, the watch-configuration command will watch and hot reload this file when any changes are made. A sample komorebi.ps1 file has been added to the root of the repository, along with a sample whkdrc file, showing how the two can be used together to replace AHK. re #339
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
set shell := ["cmd.exe", "/C"]
|
|
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-library
|
|
cat '%USERPROFILE%\.config\komorebi\komorebic.lib.ahk' > komorebic.lib.ahk
|
|
cat '%USERPROFILE%\.config\komorebi\komorebi.generated.ahk' > komorebi.generated.ahk
|
|
cat '%USERPROFILE%\.config\komorebi\komorebi.generated.ps1' > komorebi.generated.ps1
|
|
|
|
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
|