PowerToys/CleanReleaseBuild.py

11 lines
262 B
Python
Raw Normal View History

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