blob: 8e9d392a91948fbeeb087afb76142d52d2981442 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
curdir:= $(shell pwd)
GOCMD := go
getlibs: export GOPATH=$(curdir)
getlibs:
$(GOCMD) get "github.com/coopernurse/gorp"
$(GOCMD) get "github.com/mattn/go-sqlite3"
$(GOCMD) get "github.com/zenazn/goji"
build: export GOPATH=$(curdir)
build: getlibs
$(GOCMD) install spreadspace.org/sfive-hub
test: export GOPATH=$(curdir)
test: getlibs
$(GOCMD) test spreadspace.org/sfive
clean:
rm -rf src/github.com
rm -rf pkg
rm -rf bin
all: build test
.PHONY: getlibs build test clean _setenv
.DEFAULT_GOAL = all
|