mirror of
https://github.com/harness/drone.git
synced 2025-05-17 09:30:00 +08:00
Merge pull request #550 from gregory90/fix-make-install
Fix make install
This commit is contained in:
commit
87ab72ba43
6
Makefile
6
Makefile
@ -25,8 +25,8 @@ build:
|
|||||||
go build -o packaging/root/usr/local/bin/droned -ldflags "-X main.revision $(SHA)" github.com/drone/drone/server
|
go build -o packaging/root/usr/local/bin/droned -ldflags "-X main.revision $(SHA)" github.com/drone/drone/server
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -t /usr/local/bin debian/drone/usr/local/bin/drone
|
install -t /usr/local/bin packaging/root/usr/local/bin/drone
|
||||||
install -t /usr/local/bin debian/drone/usr/local/bin/droned
|
install -t /usr/local/bin packaging/root/usr/local/bin/droned
|
||||||
|
|
||||||
run:
|
run:
|
||||||
@go run server/main.go --config=$$HOME/.drone/config.toml
|
@go run server/main.go --config=$$HOME/.drone/config.toml
|
||||||
@ -89,4 +89,4 @@ rpm:
|
|||||||
# DRONE_STAGING_KEY -- the identity file path (~/.ssh/id_rsa)
|
# DRONE_STAGING_KEY -- the identity file path (~/.ssh/id_rsa)
|
||||||
deploy:
|
deploy:
|
||||||
scp -i $$DRONE_STAGING_KEY debian/drone.deb $$DRONE_STAGING_USER@$$DRONE_STAGING_HOST:/tmp
|
scp -i $$DRONE_STAGING_KEY debian/drone.deb $$DRONE_STAGING_USER@$$DRONE_STAGING_HOST:/tmp
|
||||||
ssh -i $$DRONE_STAGING_KEY $$DRONE_STAGING_USER@$$DRONE_STAGING_HOST -- dpkg -i /tmp/drone.deb
|
ssh -i $$DRONE_STAGING_KEY $$DRONE_STAGING_USER@$$DRONE_STAGING_HOST -- dpkg -i /tmp/drone.deb
|
||||||
|
Loading…
Reference in New Issue
Block a user