mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 18:57:02 +05:30
feat(just): add systemd things and cleanup
This commit is contained in:
parent
4da6df1f65
commit
8c2d3f7f4e
1 changed files with 23 additions and 8 deletions
31
justfile
31
justfile
|
@ -8,20 +8,35 @@ alias t := test
|
||||||
set positional-arguments := true
|
set positional-arguments := true
|
||||||
set dotenv-load := true
|
set dotenv-load := true
|
||||||
|
|
||||||
build type="":
|
_default:
|
||||||
cargo build {{ type }}
|
just --list
|
||||||
|
|
||||||
check type="":
|
build *args:
|
||||||
cargo check {{ type }}
|
cargo build {{ args }}
|
||||||
|
|
||||||
clippy flags="":
|
check *args:
|
||||||
cargo clippy -- {{ flags }}
|
cargo check {{ args }}
|
||||||
|
|
||||||
|
clippy *args:
|
||||||
|
cargo clippy {{ args }}
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
cargo fmt
|
cargo fmt
|
||||||
|
|
||||||
|
log:
|
||||||
|
journalctl --user -xeu clipboard-substitutor.service
|
||||||
|
|
||||||
run type="":
|
run type="":
|
||||||
cargo run {{ type }}
|
cargo run {{ type }}
|
||||||
|
|
||||||
test:
|
start:
|
||||||
cargo nextest run
|
systemctl --user start clipboard-substitutor.service
|
||||||
|
|
||||||
|
status:
|
||||||
|
systemctl --user status clipboard-substitutor.service
|
||||||
|
|
||||||
|
stop:
|
||||||
|
systemctl --user stop clipboard-substitutor.service
|
||||||
|
|
||||||
|
test *args:
|
||||||
|
cargo nextest run {{ args }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue