2026-04-12 20:30:11 -04:00
|
|
|
# Launch zellij workspace layout
|
|
|
|
|
workspace:
|
|
|
|
|
zellij --layout notfiles
|
|
|
|
|
|
2026-04-06 20:06:25 -04:00
|
|
|
pre-commit:
|
|
|
|
|
cargo fmt --all --check
|
|
|
|
|
cargo clippy --workspace -- -D warnings
|
|
|
|
|
|
|
|
|
|
prepush:
|
|
|
|
|
cargo nextest run --workspace
|
|
|
|
|
|
|
|
|
|
ci:
|
|
|
|
|
cargo fmt --all --check
|
|
|
|
|
cargo clippy --workspace -- -D warnings
|
|
|
|
|
cargo nextest run --workspace
|
|
|
|
|
|
2026-06-14 00:35:39 -04:00
|
|
|
install:
|
|
|
|
|
cargo install --path crates/notfiles --root "${HOME}/.local" --force
|
|
|
|
|
|
2026-04-06 20:06:25 -04:00
|
|
|
install-hooks:
|
|
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
printf '#!/bin/sh\njust pre-commit\n' > .git/hooks/pre-commit
|
|
|
|
|
chmod +x .git/hooks/pre-commit
|
|
|
|
|
printf '#!/bin/sh\njust prepush\n' > .git/hooks/pre-push
|
|
|
|
|
chmod +x .git/hooks/pre-push
|
|
|
|
|
printf '#!/bin/sh\ncommit_regex="^(feat|fix|docs|style|refactor|perf|test|chore|ci|build|revert)((.+))?: .+"\nif ! grep -qE "$commit_regex" "$1"; then\n echo "warning: commit message does not follow conventional commits (non-blocking)"\nfi\n' > .git/hooks/commit-msg
|
|
|
|
|
chmod +x .git/hooks/commit-msg
|