Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1166 from piosz/move_vendor
Browse files Browse the repository at this point in the history
Moved godeps to vendor
  • Loading branch information
mwielgus authored Jun 15, 2016
2 parents bc8858a + 66b8f68 commit bf19706
Show file tree
Hide file tree
Showing 1,259 changed files with 5 additions and 24 deletions.
3 changes: 2 additions & 1 deletion Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Godeps/_workspace/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion hooks/check_boilerplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ ! -e $REF_FILE ]; then
fi

LINES=$(cat "${REF_FILE}" | wc -l | tr -d ' ')
GO_FILES=$(find . -name "*.go" | grep -v -e "Godeps" -e "third_party" -e "extpoints/extpoints.go")
GO_FILES=$(find . -name "*.go" | grep -v -e "vendor")

for FILE in ${GO_FILES}; do
DIFFER=$(cat "${FILE}" | sed 's/2015/2014/g;s/2016/2014/g' | head "-${LINES}" | diff -q - "${REF_FILE}")
Expand Down
2 changes: 1 addition & 1 deletion hooks/check_gofmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FILES=$(gofmt -l `find . -type f -name "*.go" | grep -v Godeps`)
FILES=$(gofmt -l `find . -type f -name "*.go" | grep -v vendor`)
if [[ ! -z "$FILES" ]]; then
echo Run gofmt on the following files:$'\n' $FILES
exit 1
Expand Down
18 changes: 0 additions & 18 deletions hooks/run_extpoints.sh

This file was deleted.

2 changes: 1 addition & 1 deletion hooks/run_vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ set -o pipefail
# succeeds (produces no output) grep will fail. Then we just look at
# PIPESTATUS[0] which is go's exit code.
rc=0
go vet ./... 2>&1 | grep -v "^exit status " || rc=${PIPESTATUS[0]}
go vet $(go list ./... | grep -v /vendor/) 2>&1 | grep -v "^exit status " || rc=${PIPESTATUS[0]}
exit "${rc}"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit bf19706

Please sign in to comment.