From 9a28c5e7dfb43031176ac321ca9ad72bfbe2ad8c Mon Sep 17 00:00:00 2001 From: VasanthKatakam <99149574+VasanthKatakam@users.noreply.github.com> Date: Sun, 6 Feb 2022 20:08:42 -0500 Subject: [PATCH] Update Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 02dad80..504e6ec 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,10 @@ run-live: ## run the API server with live reload support (requires fswatch) @go run ${LDFLAGS} cmd/server/main.go & echo $$! > $(PID_FILE) @fswatch -x -o --event Created --event Updated --event Renamed -r internal pkg cmd config | xargs -n1 -I {} make run-restart +.PHONY: tidy +tidy: ## add/remove dependanices + @go mod tidy + .PHONY: build build: ## build the API server binary CGO_ENABLED=0 go build ${LDFLAGS} -a -o server $(MODULE)/cmd/server