1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-17 17:45:03 +02:00
woodpecker/Makefile

19 lines
293 B
Makefile
Raw Normal View History

SHA := $(shell git rev-parse --short HEAD)
VERSION := 0.4.0-alpha
2014-02-07 03:10:01 -07:00
all: build
deps:
go get -t -v ./...
2014-06-04 14:25:38 -07:00
test:
go vet ./...
go test -cover -short ./...
build:
go build -ldflags "-X main.revision $(SHA) -X main.version $(VERSION).$(SHA)"
2014-06-04 14:25:38 -07:00
clean:
find . -name "*.out" -delete
rm -f drone