diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-18 19:44:25 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-18 19:44:25 +0200 |
commit | 107ed0a265a4c730d9d8bd52def6f1ab7e6bb98b (patch) | |
tree | 8c5db62b46c1e5da0f1af18c79edd37dfadf7f04 /src/hub/Makefile | |
parent | added TODO (diff) | |
parent | hub: parse version and require version 1 (diff) |
Merge branch 'master' of gitspread:sfive
Diffstat (limited to 'src/hub/Makefile')
-rw-r--r-- | src/hub/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/hub/Makefile b/src/hub/Makefile new file mode 100644 index 0000000..317615a --- /dev/null +++ b/src/hub/Makefile @@ -0,0 +1,21 @@ +curdir:= $(shell pwd) +GOCMD := go + +getlibs: export GOPATH=$(curdir) +getlibs: + $(GOCMD) get "github.com/coopernurse/gorp" + $(GOCMD) get "github.com/mattn/go-sqlite3" + +build: export GOPATH=$(curdir) +build: getlibs + $(GOCMD) install spreadspace.org/sfive-hub + +test: export GOPATH=$(curdir) +test: getlibs + $(GOCMD) test spreadspace.org/sfive + +all: build test + +.PHONY: getlibs build test _setenv +.DEFAULT_GOAL = all + |