summaryrefslogtreecommitdiff
path: root/Taskfile.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/Taskfile.yml b/Taskfile.yml
index b7ec8fb..df9afcc 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -3,6 +3,12 @@ version: '3'
tasks:
default:
deps: ["build"]
+ run:
+ deps: ["dev"]
+ cmds:
+ - go run cmd/gos/main.go
+ env:
+ GOS_EDITOR: hx
build:
cmds:
- go build -o gosd cmd/gosd/main.go
@@ -12,9 +18,6 @@ tasks:
cmds:
- go build -race -o gosd cmd/gosd/main.go
- go build -race -o gos cmd/gos/main.go
- gosrun:
- cmds:
- - go run cmd/gos/main.go
test:
cmds:
- go clean -testcache