chore: improve arch taskfile and update readme

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-01-24 09:27:39 -05:00
1 parent 9f2d6a9970
commit 9d175fcc99
3 files changed
+13 -18

No files matched your search

+6 -11
View File
@@ -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}}" }