Files
forego/Makefile
2017-01-11 15:15:55 -05:00

24 lines
254 B
Makefile

BIN = forego
SRC = $(shell ls *.go)
.PHONY: all build clean lint release test
all: build
build: $(BIN)
clean:
rm -f $(BIN)
lint: $(SRC)
go fmt
release:
bin/release
test: lint build
go test -v -race -cover ./...
$(BIN): $(SRC)
go build -o $@