Move deps from _workspace/ to vendor/
godep restore pushd $GOPATH/src/github.com/appc/spec git co master popd go get go4.org/errorutil rm -rf Godeps godep save ./... git add vendor git add -f $(git ls-files --other vendor/) git co -- Godeps/LICENSES Godeps/.license_file_state Godeps/OWNERS
This commit is contained in:
15
vendor/github.com/elazarl/goproxy/all.bash
generated
vendored
Normal file
15
vendor/github.com/elazarl/goproxy/all.bash
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
go test || exit
|
||||
for action in $@; do go $action; done
|
||||
|
||||
mkdir -p bin
|
||||
find regretable examples/* ext/* -maxdepth 0 -type d | while read d; do
|
||||
(cd $d
|
||||
go build -o ../../bin/$(basename $d)
|
||||
find *_test.go -maxdepth 0 2>/dev/null|while read f;do
|
||||
for action in $@; do go $action; done
|
||||
go test
|
||||
break
|
||||
done)
|
||||
done
|
||||
Reference in New Issue
Block a user