aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-15 16:58:55 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-15 16:58:55 +0530
commitd76551fade9c2267b48ce541ec069082b2d72ee8 (patch)
tree5541ed20fce2a4a98d9ef832dc4a6f69f85a0ccc
parentf53b1e98f3b3dafddac97ad22d01ca4ed6bd6959 (diff)
remove makefile I think it is useless
-rw-r--r--Makefile13
-rw-r--r--main.go2
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
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"))
}