You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
365 B

#!/usr/bin/env python3
5 years ago
import os
5 years ago
from Detail.Config import config
import Detail.Utility as utility
utility.printHeading( "Cleaning project..." )
os.chdir( config.productRepoPath )
5 years ago
utility.runCommand( "git clean -fdx" )
os.chdir( config.toplevelPath )
5 years ago
# Clean with capital -X switch to preserve user-edited config files
utility.runCommand( "git clean -fdX" )