Skip to content

Commit

Permalink
feat(router): don't copy Godeps, godeps can find it automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Anderson committed Jul 23, 2015
1 parent 73246fc commit 188396e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ logspout/image/logspout
logspout/Godeps/
publisher/Godeps/
publisher/image/bin/publisher
router/Godeps/
swarm/image/bin/
mesos/**/bin/
mesos/**/bindata/
Expand Down
2 changes: 0 additions & 2 deletions router/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ BUILD_IMAGE = $(COMPONENT)-build
BINARY_DEST_DIR = image/bin

build: check-docker
cp -pR ../Godeps .
docker build -t $(BUILD_IMAGE) .
docker cp `docker run -d $(BUILD_IMAGE) /bin/bash`:/nginx.tgz image/
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix -v -ldflags '-s' -o $(BINARY_DEST_DIR)/boot boot.go || exit 1
Expand All @@ -24,7 +23,6 @@ build: check-docker
rm image/bin/boot

clean: check-docker check-registry
rm -rf Godeps
docker rmi $(IMAGE)

full-clean: check-docker check-registry
Expand Down

0 comments on commit 188396e

Please sign in to comment.