From d76551fade9c2267b48ce541ec069082b2d72ee8 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Thu, 15 Jul 2021 16:58:55 +0530 Subject: remove makefile I think it is useless --- Makefile | 13 ------------- main.go | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index c9def5f..0000000 --- a/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -GO_BUILD_ENV := CGO_ENABLED=0 GOOS=linux GOARCH=amd64 -DOCKER_BUILD=$(shell pwd)/.docker_build -DOCKER_CMD=$(DOCKER_BUILD)/go-getting-started - -$(DOCKER_CMD): clean - mkdir -p $(DOCKER_BUILD) - $(GO_BUILD_ENV) go build -v -o $(DOCKER_CMD) . - -clean: - rm -rf $(DOCKER_BUILD) - -heroku: $(DOCKER_CMD) - heroku container:push web diff --git a/main.go b/main.go index 965f426..c9d0e56 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ func main() { r.Use(gin.Logger()) r.Use(static.Serve("/", - static.LocalFile("./../build", true))) + static.LocalFile("./build", true))) r.Run(":" + os.Getenv("PORT")) } -- cgit v1.2.3