X Tutup
Skip to content

Commit f25a001

Browse files
committed
Tuned build.py to clean out temporary files.
git-svn-id: https://src.springframework.org/svn/se-springpython-py/trunk/springpython@511 ce8fead1-4192-4296-8608-a705134b927f
1 parent 0afcae0 commit f25a001

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ def usage():
110110

111111
def clean(dir):
112112
print "Removing '%s' directory" % dir
113+
if os.path.exists("pom.xml"):
114+
os.remove("pom.xml")
115+
if os.path.exists(".coverage"):
116+
os.remove(".coverage")
117+
if os.path.exists("docs/reference/src/mangled.xml"):
118+
os.remove("docs/reference/src/mangled.xml")
113119
if os.path.exists(dir):
114120
shutil.rmtree(dir, True)
115121
for root, dirs, files in os.walk(".", topdown=False):

0 commit comments

Comments
 (0)
X Tutup