PowerToys/CleanReleaseBuild.py
2014-03-16 22:51:50 +08:00

11 lines
262 B
Python

import os
ReleaseDirectory = "Release"
for root, dirs, files in os.walk(ReleaseDirectory):
for file in files:
if file.endswith(".xml"):
path = os.path.join(root, file)
print "delete file:" + path
os.remove(path)