Files
forego/Makefile
T
2014-09-18 10:20:55 -07:00

24 lines
261 B
Makefile

BIN = forego
SRC = $(shell ls *.go)
.PHONY: all build clean install test lint
all: build
build: $(BIN)
clean:
rm -f $(BIN)
install: forego
cp $< ${GOPATH}/bin/
lint: $(SRC)
go fmt
test: lint
go test ./... -cover
$(BIN): $(SRC)
godep go build -o $@