ofc i won't install it myself
This commit is contained in:
8
Justfile
8
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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user