1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-06 08:16:19 +02:00
woodpecker/Makefile
2015-04-07 01:20:55 -07:00

19 lines
293 B
Makefile

SHA := $(shell git rev-parse --short HEAD)
VERSION := 0.4.0-alpha
all: build
deps:
go get -t -v ./...
test:
go vet ./...
go test -cover -short ./...
build:
go build -ldflags "-X main.revision $(SHA) -X main.version $(VERSION).$(SHA)"
clean:
find . -name "*.out" -delete
rm -f drone