Skip to content

Commit

Permalink
just: more devpod goodness
Browse files Browse the repository at this point in the history
  • Loading branch information
yacoob committed Feb 3, 2025
1 parent bbfaff7 commit 06c2145
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions home/workarea/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ set fallback := false

### devpod recipes
#
[private]
ensure-host:
#!/bin/env bash
if [ -n "$DEVPOD" ]; then
Expand All @@ -11,8 +10,19 @@ ensure-host:
fi

[no-cd]
cli: ensure-host
init-devpod: ensure-host
devpod-cli up --ide=none .

[no-cd]
raze-devpod: ensure-host
devpod-cli delete .

[no-cd]
stop-devpod: ensure-host
devpod-cli stop .

[no-cd]
cli: ensure-host init-devpod
devpod-cli ssh .

[private]
Expand All @@ -28,8 +38,3 @@ nvim-devpod cmd: ensure-host

nvim: (nvim-devpod "nvim --server localhost:6000 --remote-ui")
neovide: (nvim-devpod "neovide --server localhost:6000")

[no-cd]
clean-devpod: ensure-host
devpod-cli delete .

0 comments on commit 06c2145

Please sign in to comment.