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
@@ -63,7 +63,7 @@ EOF
|
|||||||
# Custom fish prompt
|
# Custom fish prompt
|
||||||
tee /home/vscode/.config/fish/conf.d/fish_greeting.fish > /dev/null <<EOF
|
tee /home/vscode/.config/fish/conf.d/fish_greeting.fish > /dev/null <<EOF
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
echo (set_color yellow)"Welcome! Press [enter] to clear the direnv error"
|
echo (set_color yellow)"Welcome! Press [enter] if you see a direnv error"
|
||||||
end
|
end
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
@@ -35,16 +35,11 @@ tasks:
|
|||||||
- { msg: "Missing Homebrew", sh: "command -v brew" }
|
- { msg: "Missing Homebrew", sh: "command -v brew" }
|
||||||
- { msg: "Missing Brewfile", sh: "test -f {{.BREWFILE}}" }
|
- { msg: "Missing Brewfile", sh: "test -f {{.BREWFILE}}" }
|
||||||
|
|
||||||
paru:
|
arch:
|
||||||
desc: Install workstation dependencies with Paru
|
desc: Install Arch workstation dependencies with Paru Or Yay
|
||||||
cmd: paru -Syu --needed --noconfirm --noprogressbar $(cat {{.ARCHFILE}} | xargs)
|
cmd: "{{.helper}} -Syu --needed --noconfirm --noprogressbar $(cat {{.ARCHFILE}} | xargs)"
|
||||||
|
vars:
|
||||||
|
helper:
|
||||||
|
sh: "command -v yay || command -v paru"
|
||||||
preconditions:
|
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}}" }
|
- { msg: "Missing Archfile", sh: "test -f {{.ARCHFILE}}" }
|
||||||
@@ -175,8 +175,8 @@ You have two different options for setting up your local workstation. First one
|
|||||||
```sh
|
```sh
|
||||||
# Homebrew
|
# Homebrew
|
||||||
brew install go-task
|
brew install go-task
|
||||||
# or, Arch / yay
|
# or, Arch
|
||||||
yay -S go-task && ln -sf /usr/bin/go-task /usr/local/bin/task
|
pacman -S --noconfirm go-task && ln -sf /usr/bin/go-task /usr/local/bin/task
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install the most recent version of [direnv](https://direnv.net/), see the [installation docs](https://direnv.net/docs/installation.html) for other supported platforms.
|
2. Install the most recent version of [direnv](https://direnv.net/), see the [installation docs](https://direnv.net/docs/installation.html) for other supported platforms.
|
||||||
@@ -184,8 +184,8 @@ You have two different options for setting up your local workstation. First one
|
|||||||
```sh
|
```sh
|
||||||
# Homebrew
|
# Homebrew
|
||||||
brew install direnv
|
brew install direnv
|
||||||
# or, Arch / yay
|
# or, Arch
|
||||||
yay -S direnv
|
pacman -S --noconfirm direnv
|
||||||
```
|
```
|
||||||
|
|
||||||
📍 _After `direnv` is installed be sure to **[hook it into your preferred shell](https://direnv.net/docs/hook.html)** and then run `task workstation:direnv`_
|
📍 _After `direnv` is installed be sure to **[hook it into your preferred shell](https://direnv.net/docs/hook.html)** and then run `task workstation:direnv`_
|
||||||
@@ -197,8 +197,8 @@ You have two different options for setting up your local workstation. First one
|
|||||||
```sh
|
```sh
|
||||||
# Homebrew
|
# Homebrew
|
||||||
task workstation:brew
|
task workstation:brew
|
||||||
# or, Arch / yay
|
# or, Arch with yay/paru
|
||||||
go-task workstation:yay
|
go-task workstation:arch
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Setup a Python virual environment by running the following task command.
|
4. Setup a Python virual environment by running the following task command.
|
||||||
|
|||||||
Reference in new issue
Block a user