diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -24,6 +24,7 @@ curdir:= $(shell pwd) GOCMD := go +GOFMT := gofmt getlibs: export GOPATH=$(curdir) getlibs: @@ -31,8 +32,12 @@ getlibs: $(GOCMD) get "github.com/gorilla/websocket" $(GOCMD) get "github.com/tuxychandru/pubsub" +format: export GOPATH=$(curdir) +format: + $(GOFMT) -w src/helsinki.at/rhrdtime + build: export GOPATH=$(curdir) -build: getlibs +build: getlibs format $(GOCMD) install helsinki.at/rhrdtime clean: |