winure/justfile

22 lines
428 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}}
2024-07-12 14:31:31 -04:00
just install dos-var {{DIR}}
2024-07-08 13:31:51 -04:00
just install env-share {{DIR}}
2024-06-14 13:49:17 -04:00
just install mkwin {{DIR}}
just install path-convert {{DIR}}
just install qdls {{DIR}}
just install man
2024-06-14 13:49:17 -04:00
else
just {{TARGET}}/install `realpath {{DIR}}`
fi
2024-06-14 11:24:46 -04:00