Skip to content

Commit faaa22c

Browse files
build (taskfile.yml): set devbox env vars, use builtin status
1 parent ada1c6d commit faaa22c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

taskfile.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ tasks:
3131
install-devbox:
3232
desc: "Install devbox"
3333
cmds:
34-
- |
35-
if ! [[ $(command -v devbox 2>/dev/null) ]]; then
36-
curl -fsSL https://get.jetify.com/devbox | bash
37-
fi
34+
- curl -fsSL https://get.jetify.com/devbox | bash
3835
run: once
3936
silent: true
37+
environment:
38+
FORCE: 1
39+
INSTALL_DIR: "{{.HOME}}/.local/bin"
40+
status:
41+
- command -v devbox 2>/dev/null
4042

4143
install:
4244
desc: "Install project dependencies"

0 commit comments

Comments
 (0)