PowerToys/CleanReleaseBuild.py

11 lines
262 B
Python
Raw Normal View History

2014-03-15 22:01:35 +08:00
import os
ReleaseDirectory = "Release"
for root, dirs, files in os.walk(ReleaseDirectory):
for file in files:
2014-03-16 22:51:50 +08:00
if file.endswith(".xml"):
2014-03-15 22:01:35 +08:00
path = os.path.join(root, file)
print "delete file:" + path
os.remove(path)