mirror of
https://github.com/documize/community.git
synced 2025-07-25 16:19:46 +02:00
removed gocheck.sh
This commit is contained in:
parent
bcfe638863
commit
23948aa386
1 changed files with 0 additions and 21 deletions
21
gocheck.sh
21
gocheck.sh
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue