Skip to content

Commit 6ff145a

Browse files
committed
rm vendor dir and update godep cmd in control/Makefile.
1 parent 12f0f88 commit 6ff145a

File tree

33 files changed

+12
-3061
lines changed

33 files changed

+12
-3061
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
default: help
22

33
## Make bin for memcache-metrics.
4-
bin:
4+
bin: godep
55
./control build
66

7+
## Get godep and restore dep.
8+
godep:
9+
@go get -u github.com/tools/godep
10+
GO15VENDOREXPERIMENT=0 GOPATH=`godep path` godep restore
11+
712
## Get vet go tools.
813
vet:
914
go get golang.org/x/tools/cmd/vet

control

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ const (
2020
COMMIT = "$commit"
2121
)
2222
EOF
23-
GO15VENDOREXPERIMENT=1; go build -o $app main.go
24-
#go get github.com/tools/godep
25-
#GO15VENDOREXPERIMENT=0; godep go build -v -o $app main.go
23+
go get github.com/tools/godep
24+
export GO15VENDOREXPERIMENT=0
25+
GOPATH=`godep path` godep restore
26+
GOPATH="`godep path`:$GOPATH" && go build -o $app main.go
27+
#GO15VENDOREXPERIMENT=1; go build -o $app main.go
2628

2729
sc=$?
2830
if [ $sc -ne 0 ];then

g/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package g
22
const (
3-
COMMIT = "b979601"
3+
COMMIT = "12f0f88"
44
)

vendor/github.com/golang/glog/LICENSE

Lines changed: 0 additions & 191 deletions
This file was deleted.

vendor/github.com/golang/glog/README

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)