aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..e2f536b
--- /dev/null
+++ b/justfile
@@ -0,0 +1,20 @@
+set shell := ["bash", "-eu", "-o", "pipefail", "-c"]
+
+build:
+ mkdir -p bin
+ go build -o ./bin/kivia .
+
+format:
+ iku -w . || go fmt ./...
+
+test:
+ go test ./...
+
+run *args:
+ go run . {{args}}
+
+self:
+ go run . --path ./... --ignore file=testdata
+
+install:
+ go install .