Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
b6f64194
Unverified
Commit
b6f64194
authored
Sep 04, 2017
by
Christoph Blecker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make clean will remove all gitignored files
parent
0a883230
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
.gitignore
.gitignore
+3
-0
common.sh
build/common.sh
+4
-2
Makefile
build/root/Makefile
+1
-4
No files found.
.gitignore
View file @
b6f64194
...
...
@@ -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
!\.drone\.sec
# Godeps workspace
/Godeps/_workspace
/bazel-*
*.pyc
build/common.sh
View file @
b6f64194
...
...
@@ -409,8 +409,10 @@ function kube::build::clean() {
"
${
DOCKER
[@]
}
"
rmi
$(
"
${
DOCKER
[@]
}
"
images
-q
--filter
'dangling=true'
)
2> /dev/null
||
true
fi
kube::log::status
"Removing _output directory"
rm
-rf
"
${
LOCAL_OUTPUT_ROOT
}
"
if
[[
-d
"
${
LOCAL_OUTPUT_ROOT
}
"
]]
;
then
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.
...
...
build/root/Makefile
View file @
b6f64194
...
...
@@ -309,10 +309,7 @@ clean:
else
clean
:
clean_meta
build/make-clean.sh
rm
-rf
$(OUT_DIR)
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
git clean
-Xdf
endif
define
CLEAN_META_HELP_INFO
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment