--- # 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: - { 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) 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}}" }