Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit ded03c4

Browse files
committed
updated makefile
1 parent aa786e4 commit ded03c4

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: cli/Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ clean:
99
build:
1010
@godep go build .
1111

12+
release: deps build
13+
docker build -t shipyard/shipyard-cli:$(VERSION) .
14+
docker push shipyard/shipyard-cli:$(VERSION)
15+
1216
test: clean
1317
@# set the GOPATH because godep on drone does not
1418
@# have the env vars injected from drone
@@ -25,4 +29,4 @@ test-drone: clean
2529
@export GOPATH=$GOPATH:$(pwd)/Godeps/_workspace
2630
@go test -v ./...
2731

28-
.PHONY: all deps build clean test test-drone
32+
.PHONY: all deps build clean test test-drone release

Diff for: controller/Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ clean:
88
build:
99
@godep go build .
1010

11+
release: deps build
12+
docker build -t shipyard/shipyard:$(VERSION) .
13+
docker push shipyard/shipyard:$(VERSION)
14+
1115
test: clean
1216
@# set the GOPATH because godep on drone does not
1317
@# have the env vars injected from drone
@@ -24,4 +28,4 @@ test-drone: clean
2428
@export GOPATH=$GOPATH:$(pwd)/Godeps/_workspace
2529
@go test -v ./...
2630

27-
.PHONY: all deps build clean test test-drone
31+
.PHONY: all deps build clean test test-drone release

0 commit comments

Comments
 (0)