Browse Source

First go with a cleanup script, be careful with it, git reset --hard HEAD should save you

using the incorrect cmdlet
master
Aaron Hicks 7 years ago
parent
commit
96cdb07ebe
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      cleanup.ps1

+ 12
- 0
cleanup.ps1 View File

@@ -0,0 +1,12 @@
echo "Cleaning up template..."
if ((Test-Path 'Modulefile') -and (Test-Path 'manifests/init.pp') -and (Test-Path 'tests/init.pp')){
echo "Deleting .orig templates..."
Remove-Item 'Modulefile.orig'
Remove-Item 'manifests/init.pp.orig'
Remove-Item 'tests/init.pp.orig'
Remove-Item 'README1st.markdown'
Remove-Item 'unblank.ps1'
Remove-Item 'cleanup.ps1'
} else {
throw "ERROR: Cannot find required files, have you run unblank.ps1?"
}

Loading…
Cancel
Save