mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 09:34:38 +00:00
moved to Godep with path rewrite
This commit is contained in:
13
Makefile
13
Makefile
@@ -7,24 +7,23 @@ all: concat bindata build
|
||||
|
||||
deps:
|
||||
go get github.com/jteeuwen/go-bindata/...
|
||||
go get -t -v ./...
|
||||
|
||||
test:
|
||||
go vet ./...
|
||||
go test -cover -short ./...
|
||||
go vet github.com/drone/drone/pkg/...
|
||||
go vet github.com/drone/drone/cmd/...
|
||||
go test -cover -short github.com/drone/drone/pkg/...
|
||||
|
||||
build:
|
||||
go build -o bin/drone -ldflags "-X main.revision $(SHA) -X main.version $(VERSION).$(SHA)" github.com/drone/drone/cmd/drone-server
|
||||
go build -o bin/drone-agent -ldflags "-X main.revision $(SHA) -X main.version $(VERSION).$(SHA)" github.com/drone/drone/cmd/drone-agent
|
||||
|
||||
|
||||
clean:
|
||||
find . -name "*.out" -delete
|
||||
rm -f drone
|
||||
rm -f bindata.go
|
||||
find . -name "*_bindata.go" -delete
|
||||
rm -f bin/drone*
|
||||
|
||||
concat:
|
||||
cat cmd/drone-server/static/scripts/drone.js \
|
||||
cat cmd/drone-server/static/scripts/drone.js \
|
||||
cmd/drone-server/static/scripts/services/*.js \
|
||||
cmd/drone-server/static/scripts/filters/*.js \
|
||||
cmd/drone-server/static/scripts/controllers/*.js \
|
||||
|
Reference in New Issue
Block a user