Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

remove unused

goenning08764d35e3ee
diff --git a/cover.sh b/cover.sh
index 4bff5137a..63148585a 100755
--- a/cover.sh
+++ b/cover.sh
@@ -10,19 +10,6 @@ if [[ -d "$COVER" ]]; then
fi
mkdir -p "$COVER"
-# If a package directory has a .nocover file, don't count it when calculating
-# coverage.
-filter=""
-for pkg in "$@"; do
- if [[ -f "$GOPATH/src/$pkg/.nocover" ]]; then
- if [[ -n "$filter" ]]; then
- filter="$filter, "
- fi
- filter="\"$pkg\": true"
- fi
-done
-
-
i=0
for pkg in "$@"; do
i=$((i + 1))
@@ -40,7 +27,6 @@ for pkg in "$@"; do
| map
( select(startswith("'"$ROOT_PKG"'"))
| select(contains("/vendor/") | not)
- | select(in({'"$filter"'}) | not)
)
| join(",")
')
@@ -50,7 +36,6 @@ for pkg in "$@"; do
| map
( select(startswith("'"$ROOT_PKG"'"))
| select(contains("/vendor/") | not)
- | select(in({'"$filter"'}) | not)
)
| join(",")
')
diff --git a/wercker.yml b/wercker.yml
index 6eef19a3e..4763a8887 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -56,7 +56,7 @@ coverage:
chmod +x /usr/local/bin/jq
# Get dependencies
- script:
- name: get dotenv
+ name: get dependencies
code: |
go get github.com/joho/godotenv/cmd/godotenv
go get github.com/wadey/gocovmerge