* fix: update makeninja * Update Taskfile.yaml * fix: check for k0sctl when k0s is choosen Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
36 lines
1.4 KiB
YAML
36 lines
1.4 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://taskfile.dev/schema.json
|
|
version: "3"
|
|
|
|
tasks:
|
|
|
|
brew:
|
|
desc: Install workstation dependencies with Brew
|
|
cmd: brew bundle --file {{.ROOT_DIR}}/.taskfiles/Workstation/Brewfile
|
|
preconditions:
|
|
- sh: command -v brew
|
|
msg: |
|
|
Homebrew is not installed. Using MacOS, Linux or WSL?
|
|
Head over to https://brew.sh to get up and running.
|
|
- { msg: "Brewfile not found", sh: "test -f {{.ROOT_DIR}}/.taskfiles/Workstation/Brewfile" }
|
|
|
|
paru:
|
|
desc: Install workstation dependencies with Paru
|
|
cmd: paru -Syu --needed --noconfirm --noprogressbar $(cat {{.ROOT_DIR}}/.taskfiles/Workstation/Archfile | xargs)
|
|
preconditions:
|
|
- sh: command -v paru
|
|
msg: |
|
|
Paru is not installed. Using ArchLinux?
|
|
Head over to https://github.com/Morganamilo/paru to get up and running.
|
|
- { msg: "Archfile not found", sh: "test -f {{.ROOT_DIR}}/.taskfiles/Workstation/Archfile" }
|
|
|
|
yay:
|
|
desc: Install workstation dependencies with Yay
|
|
cmd: yay -Syu --needed --noconfirm --noprogressbar $(cat {{.ROOT_DIR}}/.taskfiles/Workstation/Archfile | xargs)
|
|
preconditions:
|
|
- sh: command -v yay
|
|
msg: |
|
|
Yay is not installed. Using ArchLinux?
|
|
Head over to https://github.com/Jguer/yay to get up and running.
|
|
- { msg: "Archfile not found", sh: "test -f {{.ROOT_DIR}}/.taskfiles/Workstation/Archfile" }
|