diff options
author | Alan Pearce | 2024-05-02 13:55:48 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-02 22:40:38 +0200 |
commit | 7ad48953a4d9470d2f4fe89343c0b09bff410c58 (patch) | |
tree | 9aa74fcb05f51df6b56d1a6025217dd3c5075a4b /justfile | |
download | searchix-7ad48953a4d9470d2f4fe89343c0b09bff410c58.tar.lz searchix-7ad48953a4d9470d2f4fe89343c0b09bff410c58.tar.zst searchix-7ad48953a4d9470d2f4fe89343c0b09bff410c58.zip |
chore: initial commit
Diffstat (limited to 'justfile')
-rw-r--r-- | justfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/justfile b/justfile new file mode 100644 index 0000000..8054509 --- /dev/null +++ b/justfile @@ -0,0 +1,16 @@ +default: + @just --list --justfile {{ justfile() }} --unsorted + +checkformat: + gofmt -d . + goimports -d . + +format: + gofmt -w . + goimports -w . + +fix: + go fix . + +precommit: + nix-build -A pre-commit-check |