diff --git a/Makefile b/Makefile index d1b0dd8..31b0b3f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index dcafea1..f38f0a6 100644 --- a/README.md +++ b/README.md @@ -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