Skip to content

Commit

Permalink
feat(dev): add test task and add "go get" to build task
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Dec 11, 2023
1 parent bd49db9 commit 137f7f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ tasks:
build:
desc: Builds the binary
cmds:
- go get .
- go build -o hcuc

changelog:
desc: Generate Changelog
cmds:
- rm -f CHANGELOG.md
- git-changelog -o CHANGELOG.md -c conventional -t keepachangelog --provider github .

test:
desc: Run go test
cmds:
- go test ./... -v

0 comments on commit 137f7f5

Please sign in to comment.