chore: improve arch taskfile and update readme
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
3 files changed
+13
-18
No files matched your search
@@ -35,16 +35,11 @@ tasks:
|
||||
- { msg: "Missing Homebrew", sh: "command -v brew" }
|
||||
- { msg: "Missing Brewfile", sh: "test -f {{.BREWFILE}}" }
|
||||
|
||||
paru:
|
||||
desc: Install workstation dependencies with Paru
|
||||
cmd: paru -Syu --needed --noconfirm --noprogressbar $(cat {{.ARCHFILE}} | xargs)
|
||||
arch:
|
||||
desc: Install Arch workstation dependencies with Paru Or Yay
|
||||
cmd: "{{.helper}} -Syu --needed --noconfirm --noprogressbar $(cat {{.ARCHFILE}} | xargs)"
|
||||
vars:
|
||||
helper:
|
||||
sh: "command -v yay || command -v paru"
|
||||
preconditions:
|
||||
- { msg: "Missing Paru", sh: "command -v paru" }
|
||||
- { msg: "Missing Archfile", sh: "test -f {{.ARCHFILE}}" }
|
||||
|
||||
yay:
|
||||
desc: Install workstation dependencies with Yay
|
||||
cmd: yay -Syu --needed --noconfirm --noprogressbar $(cat {{.ARCHFILE}} | xargs)
|
||||
preconditions:
|
||||
- { msg: "Missing Yay", sh: "command -v yay" }
|
||||
- { msg: "Missing Archfile", sh: "test -f {{.ARCHFILE}}" }
|
||||
Reference in new issue
Block a user