Skip to content

Commit

Permalink
add taskfile
Browse files Browse the repository at this point in the history
add taskfile
  • Loading branch information
notnmeyer committed Jan 10, 2024
1 parent 3f4e061 commit 802804e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tasks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[tasks.run]
cmds = ["go run main.go {{.CLI_ARGS}}"]

[tasks.test]
cmds = ["go test ./... {{.CLI_ARGS}}"]

[tasks.build]
cmds = [
"docker context use default",
"goreleaser build --clean --snapshot {{.CLI_ARGS}}",
]

# `tsk release -- --snapshot` to build images without publishing
[tasks.release]
cmds = [
"docker context use default",
"goreleaser release --clean {{.CLI_ARGS}}",
]

0 comments on commit 802804e

Please sign in to comment.