summaryrefslogtreecommitdiff
path: root/hack/make-rules
diff options
context:
space:
mode:
authorXiang Dai <long0dai@foxmail.com>2020-05-29 09:46:24 +0800
committerXiang Dai <long0dai@foxmail.com>2020-05-30 14:05:10 +0800
commiteb687b482f4bdc075f96004cb5ed6a0103b657d3 (patch)
tree61a5e9d2e979321290c725c91040f6dff6b2b5c0 /hack/make-rules
parentMerge pull request #1754 from fisherxu/update-adopter (diff)
downloadkubeedge-eb687b482f4bdc075f96004cb5ed6a0103b657d3.tar.gz
Clean all cache before do test
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Diffstat (limited to 'hack/make-rules')
-rwxr-xr-xhack/make-rules/clean.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hack/make-rules/clean.sh b/hack/make-rules/clean.sh
index f800d9547..bbeec600e 100755
--- a/hack/make-rules/clean.sh
+++ b/hack/make-rules/clean.sh
@@ -23,8 +23,14 @@ set -o pipefail
KUBEEDGE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
source "${KUBEEDGE_ROOT}/hack/lib/init.sh"
+kubeedge::clean::cache(){
+ unset GOARM
+ go clean -cache
+}
+
kubeedge::clean::bin(){
rm -rf $KUBEEDGE_OUTPUT_BINPATH/*
}
+kubeedge::clean::cache
kubeedge::clean::bin