Flow.Launcher/CleanReleaseBuild.py

11 lines
287 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:
if file.endswith(".pdb") or file.endswith(".xml"):
path = os.path.join(root, file)
print "delete file:" + path
os.remove(path)