1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

WIP using fixed test data

see model.go:36 onwards for fixed test data
This commit is contained in:
Elliott Stoneham 2016-08-04 17:06:28 +01:00
parent 678ceedfe1
commit a7ae6d7503
10 changed files with 1369 additions and 894 deletions

View file

@ -3,7 +3,7 @@
# 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 documize wordsmith sdk plugin-* -type d -print | grep -v -e "web" | grep -v -e "templates" | sort | tr '\n' ' ')
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
@ -12,7 +12,7 @@ done
# run github.com/FiloSottile/vendorcheck (including tests)
echo "*** vendorcheck"
for dir in documize sdk
for dir in core sdk
do
cd $dir
vendorcheck -t . | grep -v 'github.com/documize/community'