mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
moved mkdir to build directive
This commit is contained in:
parent
fbda588d87
commit
8f9c3da81b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -13,6 +13,7 @@ deps:
|
||||||
go list github.com/drone/drone/... | xargs go get -t -v
|
go list github.com/drone/drone/... | xargs go get -t -v
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
mkdir -p debian/drone/usr/local/bin
|
||||||
go build -o debian/drone/usr/local/bin/drone -ldflags "-X main.revision $(SHA)" github.com/drone/drone/client
|
go build -o debian/drone/usr/local/bin/drone -ldflags "-X main.revision $(SHA)" github.com/drone/drone/client
|
||||||
go build -o debian/drone/usr/local/bin/droned -ldflags "-X main.revision $(SHA)" github.com/drone/drone/server
|
go build -o debian/drone/usr/local/bin/droned -ldflags "-X main.revision $(SHA)" github.com/drone/drone/server
|
||||||
|
|
||||||
|
@ -44,5 +45,4 @@ lessc:
|
||||||
# creates a debian package for drone to install
|
# creates a debian package for drone to install
|
||||||
# `sudo dpkg -i drone.deb`
|
# `sudo dpkg -i drone.deb`
|
||||||
deb:
|
deb:
|
||||||
mkdir -p debian/drone/usr/local/bin
|
|
||||||
dpkg-deb --build debian/drone
|
dpkg-deb --build debian/drone
|
||||||
|
|
Loading…
Reference in a new issue