mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-29 11:50:37 +00:00
18 lines
293 B
Makefile
18 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
|