| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
| 6 # | 6 # |
| 7 | 7 |
| 8 import shutil | 8 import shutil |
| 9 import sys | 9 import sys |
| 10 import utils | 10 import utils |
| 11 | 11 |
| 12 def Main(): | 12 def Main(): |
| 13 build_root = utils.GetBuildRoot(utils.GuessOS()) | 13 build_root = utils.GetBuildRoot(utils.GuessOS()) |
| 14 print 'Deleting %s' % build_root |
| 14 shutil.rmtree(build_root, ignore_errors=True) | 15 shutil.rmtree(build_root, ignore_errors=True) |
| 15 return 0 | 16 return 0 |
| 16 | 17 |
| 17 if __name__ == '__main__': | 18 if __name__ == '__main__': |
| 18 sys.exit(Main()) | 19 sys.exit(Main()) |
| OLD | NEW |