1
0
forked from apps/featurer
Stanislav N. aka pztrn c49251db31
Add vendor to improve building speed.
This also adds ability to be built in network-constrained environment.
2024-10-12 23:08:41 +05:00

13 lines
289 B
Bash

#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done