diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-07-15 16:58:55 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-07-15 16:58:55 +0530 |
commit | d76551fade9c2267b48ce541ec069082b2d72ee8 (patch) | |
tree | 5541ed20fce2a4a98d9ef832dc4a6f69f85a0ccc | |
parent | f53b1e98f3b3dafddac97ad22d01ca4ed6bd6959 (diff) |
remove makefile I think it is useless
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | main.go | 2 |
2 files changed, 1 insertions, 14 deletions
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 @@ -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")) } |