improved base justfile

This commit is contained in:
Valerie Wolfe 2024-06-14 11:26:53 -04:00
parent 64deaeaece
commit 60833cef60

View file

@ -3,7 +3,7 @@ alias b := build
alias i := install
build TARGET:
just -f "{{TARGET}}/justfile" build
just {{TARGET}}/build
install TARGET=all DIR="~/.bin/":
if {{TARGET}} = all {
@ -12,6 +12,6 @@ install TARGET=all DIR="~/.bin/":
just install path-convert {{DIR}}
just install qdls {{DIR}}
} else {
dir=`realpath {{DIR}}` && just -f "{{TARGET}}/justfile" install "$dir"
just {{TARGET}}/install `realpath {{DIR}}`
}