diff --git a/justfile b/justfile new file mode 100644 index 0000000..6e446d5 --- /dev/null +++ b/justfile @@ -0,0 +1,17 @@ + +alias b := build +alias i := install + +build TARGET: + just -f "{{TARGET}}/justfile" build + +install TARGET=all DIR="~/.bin/": + if {{TARGET}} = all { + just install scripts {{DIR}} + just install mkwin {{DIR}} + just install path-convert {{DIR}} + just install qdls {{DIR}} + } else { + dir=`realpath {{DIR}}` && just -f "{{TARGET}}/justfile" install "$dir" + } + diff --git a/mkwin/justfile b/mkwin/justfile new file mode 100644 index 0000000..7a2385b --- /dev/null +++ b/mkwin/justfile @@ -0,0 +1,10 @@ + +alias b := build +alias i := install + +build: + cargo build --release + +install DIR: build + cp ./target/release/mkwin "{{DIR}}/mkwin" + diff --git a/path-convert/justfile b/path-convert/justfile new file mode 100644 index 0000000..e4886b8 --- /dev/null +++ b/path-convert/justfile @@ -0,0 +1,10 @@ + +alias b := build +alias i := install + +build: + cargo build --release + +install DIR: build + cp ./target/release/path-convert "{{DIR}}/path-convert" + diff --git a/qdls/justfile b/qdls/justfile new file mode 100644 index 0000000..95af48e --- /dev/null +++ b/qdls/justfile @@ -0,0 +1,10 @@ + +alias b := build +alias i := install + +build: + dos dotnet warp + +install DIR: build + mv qdls.exe {{DIR}}/qdls + diff --git a/scripts/justfile b/scripts/justfile new file mode 100644 index 0000000..805c93b --- /dev/null +++ b/scripts/justfile @@ -0,0 +1,9 @@ + +alias i := install + +install DIR="~/.bin": + cp dos.sh {{DIR}}/dos + cp elevate.sh {{DIR}}/elevate + cp explorer.sh {{DIR}}/explorer + cp terminal.sh {{DIR}}/terminal +