Compare commits

..

5 commits

5 changed files with 58 additions and 0 deletions

18
justfile Normal file
View file

@ -0,0 +1,18 @@
alias b := build
alias i := install
build TARGET:
just {{TARGET}}/build
install TARGET='all' DIR="~/.bin/":
#!/usr/bin/bash
if [[ {{TARGET}} == 'all' ]]; then
just install scripts {{DIR}}
just install mkwin {{DIR}}
just install path-convert {{DIR}}
just install qdls {{DIR}}
else
just {{TARGET}}/install `realpath {{DIR}}`
fi

10
mkwin/justfile Normal file
View file

@ -0,0 +1,10 @@
alias b := build
alias i := install
build:
cargo build --release
install DIR: build
cp ./target/release/mkwin "{{DIR}}/mkwin"

10
path-convert/justfile Normal file
View file

@ -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"

11
qdls/justfile Normal file
View file

@ -0,0 +1,11 @@
alias b := build
alias i := install
build:
dos dotnet warp
install DIR: build
chmod +x qdls.exe
mv qdls.exe {{DIR}}/qdls

9
scripts/justfile Normal file
View file

@ -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