From ead2393093d2b4f3c9c2863cfafe1656f07192de Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 17 Jul 2015 15:57:31 +0200 Subject: improved calling of gofmt 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 -- cgit v0.10.2