diff --git a/Makefile b/Makefile index 12fd379..2e407f6 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ GOBIN := /usr/bin BUILD_DIR = build BINARY = $(BUILD_DIR)/$(APP_NAME) -.PHONY: all build help clean install uninstall +.PHONY: all build help clean install uninstall #build-static all: build @@ -20,6 +20,10 @@ install: build ## Install the application @echo "Installing $(APP_NAME)..." GOBIN=$(GOBIN) $(GO_INSTALL) +# build-static: ## Build a static application +# @echo "Building static $(APP_NAME)..." +# CGO_ENABLED=0 $(GO_BUILD) --ldflags '-extldflags=-static -w -s' -o $(BINARY)-static + uninstall: clean ## Remove build artifacts @echo "Removing installed binary..." rm -f $(GOBIN)/$(APP_NAME) diff --git a/templates/index.html b/templates/index.html index 57bfb78..696abea 100644 --- a/templates/index.html +++ b/templates/index.html @@ -30,9 +30,9 @@