summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-07-06 23:12:54 +0300
committerPaul Buetow <paul@buetow.org>2024-07-06 23:12:54 +0300
commite9f2c3e0f11fd82c9298041933abce58d713fbf9 (patch)
treef1dec3c34aa2f14aac21e7f6d1d2211a477c25bf
parentbfa17633390b7d7074bd584019e808eca4dd59a2 (diff)
add run task
-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