31 lines
854 B
YAML
31 lines
854 B
YAML
---
|
|
# yaml-language-server: $schema=https://taskfile.dev/schema.json
|
|
version: "3"
|
|
|
|
vars:
|
|
ARCHFILE: "{{.ROOT_DIR}}/.taskfiles/Workstation/Archfile"
|
|
BREWFILE: "{{.ROOT_DIR}}/.taskfiles/Workstation/Brewfile"
|
|
|
|
tasks:
|
|
|
|
brew:
|
|
desc: Install workstation dependencies with Brew
|
|
cmd: brew bundle --file {{.BREWFILE}}
|
|
preconditions:
|
|
- sh: command -v brew
|
|
- sh: test -f {{.BREWFILE}}
|
|
|
|
paru:
|
|
desc: Install workstation dependencies with Paru
|
|
cmd: paru -Syu --needed --noconfirm --noprogressbar $(cat {{.ARCHFILE}} | xargs)
|
|
preconditions:
|
|
- sh: command -v paru
|
|
- sh: test -f {{.ARCHFILE}}
|
|
|
|
yay:
|
|
desc: Install workstation dependencies with Yay
|
|
cmd: yay -Syu --needed --noconfirm --noprogressbar $(cat {{.ARCHFILE}} | xargs)
|
|
preconditions:
|
|
- sh: command -v yay
|
|
- sh: test -f {{.ARCHFILE}}
|