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.
17 lines
365 B
17 lines
365 B
#!/usr/bin/env python3 |
|
|
|
import os |
|
|
|
from Detail.Config import config |
|
import Detail.Utility as utility |
|
|
|
utility.printHeading( "Cleaning project..." ) |
|
|
|
os.chdir( config.productRepoPath ) |
|
|
|
utility.runCommand( "git clean -fdx" ) |
|
|
|
os.chdir( config.toplevelPath ) |
|
|
|
# Clean with capital -X switch to preserve user-edited config files |
|
utility.runCommand( "git clean -fdX" )
|
|
|