winure/justfile

23 lines
462 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-08-22 09:44:05 -04:00
install TARGET='all' DIR="/usr/local/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-07-15 13:35:35 -04:00
just install hug {{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