From 23948aa386df5be8f8efc777be863ca88549c01a Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Tue, 18 Jul 2017 14:00:23 +0100 Subject: [PATCH] removed gocheck.sh --- gocheck.sh | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 gocheck.sh diff --git a/gocheck.sh b/gocheck.sh deleted file mode 100755 index 5ac00d29..00000000 --- a/gocheck.sh +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2013-2014 Documize (http://www.documize.com) - -# run github.com/alecthomas/gometalinter to check correctness, style and error handling -# also check spelling with github.com/client9/misspell -# Only set up to look at non-vendored code, should be run from top level -for dir in $(find core sdk plugin-* -type d -print | grep -v -e "web" | grep -v -e "templates" | sort | tr '\n' ' ') -do - echo "*** " $dir - gometalinter --vendor --disable='gotype' --deadline=30s $dir | sort - misspell $dir/*.go -done - -# run github.com/FiloSottile/vendorcheck (including tests) -echo "*** vendorcheck" -for dir in core sdk -do - cd $dir - vendorcheck -t . | grep -v 'github.com/documize/community' - cd .. -done -