aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-26 10:18:32 +0000
committerFuwn <[email protected]>2026-01-26 10:18:32 +0000
commitb5e3d5af207a51416e4f1210e760caaddf41f9e8 (patch)
tree244e4cf4d3d45c7c73a850a21687a0be16d294fc
parentstyle(git): Return nil slice over empty (diff)
downloadmugi-b5e3d5af207a51416e4f1210e760caaddf41f9e8.tar.xz
mugi-b5e3d5af207a51416e4f1210e760caaddf41f9e8.zip
chore(justfile): Add install and clean tasks
-rw-r--r--justfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/justfile b/justfile
index b1530db..c8700b6 100644
--- a/justfile
+++ b/justfile
@@ -12,3 +12,9 @@ run *arguments="":
build:
go build -o {{ name }} ./cmd/{{ name }}
+
+install path="~/.local/bin" *arguments="":
+ install -Dm755 {{ name }} {{ path }}/{{ name }}
+
+clean:
+ rm -rf {{ name }}