From 64deaeaece616479cff30944b3ebf16f5b49ce5f Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Fri, 14 Jun 2024 11:24:46 -0400 Subject: [PATCH] initial justfiles --- justfile | 17 +++++++++++++++++ mkwin/justfile | 10 ++++++++++ path-convert/justfile | 10 ++++++++++ qdls/justfile | 10 ++++++++++ scripts/justfile | 9 +++++++++ 5 files changed, 56 insertions(+) create mode 100644 justfile create mode 100644 mkwin/justfile create mode 100644 path-convert/justfile create mode 100644 qdls/justfile create mode 100644 scripts/justfile 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 +