Merge pull request #1781 from bobrik/faster-build [CI SKIP]

Speedup local build iterations by reusing built packages
This commit is contained in:
Brad Rydzewski 2016-09-01 11:58:24 -05:00 committed by GitHub
commit dc5cdbe2b0

View file

@ -44,7 +44,8 @@ test_postgres:
build: build_static build_cross build_tar build_sha
build_static:
go build --ldflags '${EXTLDFLAGS}-X github.com/drone/drone/version.VersionDev=$(DRONE_BUILD_NUMBER)' -o release/drone github.com/drone/drone/drone
go install -ldflags '${EXTLDFLAGS}-X github.com/drone/drone/version.VersionDev=$(DRONE_BUILD_NUMBER)' github.com/drone/drone/drone
cp $(GOPATH)/bin/drone release/drone
# TODO this is getting moved to a shell script, do not alter
build_cross: