moved to Godep with path rewrite

This commit is contained in:
Brad Rydzewski
2015-05-22 11:37:40 -07:00
parent 52c62d4c70
commit 35d604659a
598 changed files with 259201 additions and 100 deletions

View File

@@ -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 \