Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 7942be9

Browse files
authored
Merge pull request #236 from SataQiu/fix-golint-20190918
✨ using golangci-lint instead of verify-xxx.sh
2 parents 92d49ae + 2b45243 commit 7942be9

File tree

6 files changed

+0
-255
lines changed

6 files changed

+0
-255
lines changed

hack/verify-all.sh

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -45,48 +45,13 @@ if [[ "${VERIFY_MANIFESTS:-true}" == "true" ]]; then
4545
cd "${REPO_PATH}"
4646
fi
4747

48-
if [[ "${VERIFY_WHITESPACE:-true}" == "true" ]]; then
49-
echo "[*] Verifying whitespace..."
50-
out=$(hack/verify-whitespace.sh 2>&1)
51-
failure $? "verify-whitespace.sh" "${out}"
52-
cd "${REPO_PATH}"
53-
fi
54-
55-
if [[ "${VERIFY_SPELLING:-true}" == "true" ]]; then
56-
echo "[*] Verifying spelling..."
57-
out=$(hack/verify-spelling.sh 2>&1)
58-
failure $? "verify-spelling.sh" "${out}"
59-
cd "${REPO_PATH}"
60-
fi
61-
6248
if [[ "${VERIFY_BOILERPLATE:-true}" == "true" ]]; then
6349
echo "[*] Verifying boilerplate..."
6450
out=$(hack/verify-boilerplate.sh 2>&1)
6551
failure $? "verify-boilerplate.sh" "${out}"
6652
cd "${REPO_PATH}"
6753
fi
6854

69-
if [[ "${VERIFY_GOFMT:-true}" == "true" ]]; then
70-
echo "[*] Verifying gofmt..."
71-
out=$(hack/verify-gofmt.sh 2>&1)
72-
failure $? "verify-gofmt.sh" "${out}"
73-
cd "${REPO_PATH}"
74-
fi
75-
76-
if [[ "${VERIFY_GOLINT:-true}" == "true" ]]; then
77-
echo "[*] Verifying golint..."
78-
out=$(hack/verify-golint.sh 2>&1)
79-
failure $? "verify-golint.sh" "${out}"
80-
cd "${REPO_PATH}"
81-
fi
82-
83-
if [[ "${VERIFY_GOVET:-true}" == "true" ]]; then
84-
echo "[*] Verifying govet..."
85-
out=$(hack/verify-govet.sh 2>&1)
86-
failure $? "verify-govet.sh" "${out}"
87-
cd "${REPO_PATH}"
88-
fi
89-
9055
if [[ "${VERIFY_DEPS:-true}" == "true" ]]; then
9156
echo "[*] Verifying deps..."
9257
out=$(hack/verify-deps.sh 2>&1)

hack/verify-gofmt.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

hack/verify-golint.sh

Lines changed: 0 additions & 51 deletions
This file was deleted.

hack/verify-govet.sh

Lines changed: 0 additions & 28 deletions
This file was deleted.

hack/verify-spelling.sh

Lines changed: 0 additions & 61 deletions
This file was deleted.

hack/verify-whitespace.sh

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)