Skip to content

Commit 188396e

Browse files
author
Joshua Anderson
committed
feat(router): don't copy Godeps, godeps can find it automatically.
1 parent 73246fc commit 188396e

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ logspout/image/logspout
4242
logspout/Godeps/
4343
publisher/Godeps/
4444
publisher/image/bin/publisher
45-
router/Godeps/
4645
swarm/image/bin/
4746
mesos/**/bin/
4847
mesos/**/bindata/

router/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ BUILD_IMAGE = $(COMPONENT)-build
1414
BINARY_DEST_DIR = image/bin
1515

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

2625
clean: check-docker check-registry
27-
rm -rf Godeps
2826
docker rmi $(IMAGE)
2927

3028
full-clean: check-docker check-registry

0 commit comments

Comments
 (0)