winure/justfile

20 lines
369 B
Makefile
Raw Normal View History

2024-06-14 11:24:46 -04:00
alias b := build
alias i := install
build TARGET:
2024-06-14 11:26:53 -04:00
just {{TARGET}}/build
2024-06-14 11:24:46 -04:00
2024-06-14 11:28:47 -04:00
install TARGET='all' DIR="~/.bin/":
2024-06-14 13:49:17 -04:00
#!/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
2024-06-14 11:24:46 -04:00