From 7ad48953a4d9470d2f4fe89343c0b09bff410c58 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 2 May 2024 13:55:48 +0200 Subject: chore: initial commit --- justfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 justfile (limited to 'justfile') 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 -- cgit 1.4.1