Skip to content

Commit

Permalink
find submodule folder using git list command.
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jul 13, 2016
1 parent 0c43ad2 commit 3190668
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ config.yml
bin/*
.DS_Store
coverage.txt
coverage.xml
report.xml
gorush/log/*.log
build.tar.gz
gorush.tar.gz
gorush.db
vendor
lint.txt
vet.txt
Dockerfile.tmp
2 changes: 1 addition & 1 deletion go.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test -z $(which glide) && output "glide command not found"
test -f coverage.txt && rm -rf coverage.txt
echo "mode: ${coverage_mode}" > coverage.txt

for d in ./storage/boltdb/... ./storage/redis/... ./storage/memory/... ./config/... ./gorush/...; do
for d in $(go list ./... | grep -v vendor); do
go test -v -cover -coverprofile=profile.out -covermode=${coverage_mode} $d
if [ -f profile.out ]; then
sed '1d' profile.out >> coverage.txt
Expand Down

0 comments on commit 3190668

Please sign in to comment.