winure/justfile

18 lines
358 B
Makefile
Raw Normal View History

2024-06-14 11:24:46 -04:00
alias b := build
alias i := install
build TARGET:
just -f "{{TARGET}}/justfile" build
install TARGET=all DIR="~/.bin/":
if {{TARGET}} = all {
just install scripts {{DIR}}
just install mkwin {{DIR}}
just install path-convert {{DIR}}
just install qdls {{DIR}}
} else {
dir=`realpath {{DIR}}` && just -f "{{TARGET}}/justfile" install "$dir"
}