Compare commits
5 commits
47a05b4508
...
edf2fed12d
Author | SHA1 | Date | |
---|---|---|---|
edf2fed12d | |||
795f45e607 | |||
ccae331e6f | |||
60833cef60 | |||
64deaeaece |
5 changed files with 58 additions and 0 deletions
18
justfile
Normal file
18
justfile
Normal 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
10
mkwin/justfile
Normal 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
10
path-convert/justfile
Normal 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
11
qdls/justfile
Normal 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
9
scripts/justfile
Normal 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
|
||||
|
Loading…
Reference in a new issue