mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
make clean will remove all gitignored files
This commit is contained in:
parent
0a88323013
commit
b6f6419423
3
.gitignore
vendored
3
.gitignore
vendored
@ -120,5 +120,8 @@ zz_generated.openapi.go
|
|||||||
# This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored
|
# This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored
|
||||||
!\.drone\.sec
|
!\.drone\.sec
|
||||||
|
|
||||||
|
# Godeps workspace
|
||||||
|
/Godeps/_workspace
|
||||||
|
|
||||||
/bazel-*
|
/bazel-*
|
||||||
*.pyc
|
*.pyc
|
||||||
|
@ -409,8 +409,10 @@ function kube::build::clean() {
|
|||||||
"${DOCKER[@]}" rmi $("${DOCKER[@]}" images -q --filter 'dangling=true') 2> /dev/null || true
|
"${DOCKER[@]}" rmi $("${DOCKER[@]}" images -q --filter 'dangling=true') 2> /dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kube::log::status "Removing _output directory"
|
if [[ -d "${LOCAL_OUTPUT_ROOT}" ]]; then
|
||||||
rm -rf "${LOCAL_OUTPUT_ROOT}"
|
kube::log::status "Removing _output directory"
|
||||||
|
rm -rf "${LOCAL_OUTPUT_ROOT}"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set up the context directory for the kube-build image and build it.
|
# Set up the context directory for the kube-build image and build it.
|
||||||
|
@ -309,10 +309,7 @@ clean:
|
|||||||
else
|
else
|
||||||
clean: clean_meta
|
clean: clean_meta
|
||||||
build/make-clean.sh
|
build/make-clean.sh
|
||||||
rm -rf $(OUT_DIR)
|
git clean -Xdf
|
||||||
rm -rf Godeps/_workspace # Just until we are sure it is gone
|
|
||||||
# TODO(thockin): Remove this when we call clean_generated.
|
|
||||||
rm -f pkg/generated/openapi/zz_generated.openapi.go
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define CLEAN_META_HELP_INFO
|
define CLEAN_META_HELP_INFO
|
||||||
|
Loading…
Reference in New Issue
Block a user