Skip to content

Commit 874f857

Browse files
committed
cleanup: Support optionally deleting project cache
1 parent b743bcb commit 874f857

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cleanup

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def parse_args():
2727
parser.add_argument('swift_branch')
2828
parser.add_argument('--skip-ci-steps',
2929
action='store_true')
30+
parser.add_argument('--cleanup-cache',
31+
action='store_true')
3032
return parser.parse_args()
3133

3234

@@ -52,6 +54,9 @@ def main():
5254
'swift-corelibs-xctest',
5355
]
5456

57+
if args.cleanup_cache:
58+
paths.append('project_cache')
59+
5560
with open('/dev/null', 'w') as devnull:
5661
common.debug_print('Deleting build and source directories...')
5762
for path in paths:

0 commit comments

Comments
 (0)