Files
rtl-gopow/Makefile
2015-07-16 12:21:12 +02:00

25 lines
407 B
Makefile
Executable File

.PHONY: setup build resources lint clean
VERSION = $(shell git describe --always --dirty)
TIMESTAMP = $(shell git show -s --format=%ct)
default: build
setup:
go get -u github.com/jteeuwen/go-bindata/...
resources:
go-bindata -pkg resources -o internal/resources/resources.go resources/...
build: resources
go build -o ./gopow *.go
lint:
golint .
clean:
rm -f gopow
rm -rf internal/resources