improved base justfile
This commit is contained in:
parent
64deaeaece
commit
60833cef60
1 changed files with 2 additions and 2 deletions
4
justfile
4
justfile
|
@ -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}}`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue