winure/justfile
2024-06-14 13:49:17 -04:00

19 lines
369 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 mkwin {{DIR}}
just install path-convert {{DIR}}
just install qdls {{DIR}}
chmod +x {{DIR}}/qdls
else
just {{TARGET}}/install `realpath {{DIR}}`
fi