Skip to content

Commit

Permalink
chore(make): Add make update-deps (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonjek authored Dec 8, 2024
1 parent 3268bc8 commit e31eb14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ test: check-go
tidy: check-go
go mod tidy

## update-deps: Update go dependencies
.PHONY: update-deps
update-deps: check-go
go get -u ./...
-@$(MAKE) tidy

## get-deps: Download go dependencies
.PHONY: get-deps
get-deps: check-go
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Commands:
run-docker Run Docker container image with this app
test Run unit tests
tidy Removes unused dependencies and adds missing ones
update-deps Update go dependencies
get-deps Download go dependencies
generate-web Compile templ files via github.com/a-h/templ/cmd/templ
air Build and start application in live reload mode via air
Expand Down

0 comments on commit e31eb14

Please sign in to comment.