mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-19 16:31:01 +00:00
Merge pull request #1781 from bobrik/faster-build [CI SKIP]
Speedup local build iterations by reusing built packages
This commit is contained in:
commit
dc5cdbe2b0
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue