ofc i won't install it myself

This commit is contained in:
2026-01-14 21:07:34 +05:30
parent 1ae8c7b94a
commit ffc2d6eb87

View File

@@ -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 }}