winure/justfile

21 lines
428 B
Makefile

alias b := build
alias i := install
build TARGET:
just {{TARGET}}/build
install TARGET='all' DIR="~/.bin/":
#!/usr/bin/bash
if [[ {{TARGET}} == 'all' ]]; then
just install scripts {{DIR}}
just install dos-var {{DIR}}
just install env-share {{DIR}}
just install mkwin {{DIR}}
just install path-convert {{DIR}}
just install qdls {{DIR}}
just install man
else
just {{TARGET}}/install `realpath {{DIR}}`
fi