From ffc2d6eb8725ee1e66934a282c6c693408b5b773 Mon Sep 17 00:00:00 2001 From: kevinnls Date: Wed, 14 Jan 2026 21:07:34 +0530 Subject: [PATCH] ofc i won't install it myself --- Justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Justfile b/Justfile index 72023a2..87804e8 100644 --- a/Justfile +++ b/Justfile @@ -1,6 +1,14 @@ +NAME := "args" test +TESTS='test': build tests/bats/bin/bats {{ append('.bats',prepend('tests/',TESTS)) }} exec *ARGS: build build/args {{ARGS}} build: @make build + +PREFIX := if shell('id -u') == "0" { '/usr/local' } else { x'$HOME/.local' } + +install: + install -CDm0755 -t {{ PREFIX }}/bin/ build/{{ NAME }} + # install -D -t {{ PREFIX }}/share/man/1 build/{{ NAME }} +