summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-17 13:57:31 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-17 13:57:31 (GMT)
commitead2393093d2b4f3c9c2863cfafe1656f07192de (patch)
tree7e75beb555b21a486782a7f4694b2523469037cf
parent89e1f0ef76a8ab80f1ef97f86e5fe587f37fc26f (diff)
improved calling of gofmt
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c20b334..a9c7ca9 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,6 @@
curdir:= $(shell pwd)
GOCMD := go
-GOFMT := gofmt
getlibs: export GOPATH=$(curdir)
getlibs:
@@ -34,7 +33,7 @@ getlibs:
format: export GOPATH=$(curdir)
format:
- $(GOFMT) -w src/helsinki.at/rhrdtime
+ $(GOCMD) fmt helsinki.at/rhrdtime
build: export GOPATH=$(curdir)
build: getlibs format