aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-26 05:13:25 +0000
committerFuwn <[email protected]>2026-01-26 05:13:25 +0000
commit567e5b51d32450999935bcf3af143248888e12e9 (patch)
tree41bb8b2a8fcae168bcb7044adb84f08dc89aaec0 /justfile
downloadmugi-567e5b51d32450999935bcf3af143248888e12e9.tar.xz
mugi-567e5b51d32450999935bcf3af143248888e12e9.zip
feat: Initial commit
Diffstat (limited to 'justfile')
-rw-r--r--justfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..b1530db
--- /dev/null
+++ b/justfile
@@ -0,0 +1,14 @@
+name := "mugi"
+format_command := "~/go/bin/gofumpt -l -w ."
+
+default:
+ just --list
+
+fmt:
+ {{ format_command }}
+
+run *arguments="":
+ go run ./cmd/{{ name }} {{ arguments }}
+
+build:
+ go build -o {{ name }} ./cmd/{{ name }}