Commit a922ad92 authored by Tomáš Hübelbauer's avatar Tomáš Hübelbauer

Improve tracking and test abandoned directory cleanup

parent 9ee78412
......@@ -17,8 +17,9 @@ Get-ChildItem .\* -Include ("*.docx", "*.xlsx", "*.pptx") -Recurse |
([xml](Get-Content -literalPath $xmlPath)).Save($xmlPath)
Write-Output "Tracking $xmlPath"
git add "$xmlPath"
}
git add "$officePath"
}
# Delete abandoned extractions
......@@ -28,5 +29,6 @@ Get-ChildItem .\* -Filter *.git -Recurse |
$officePath = $_.FullName
Write-Output "Disposing $officePath"
Remove-Item $officePath
git add "$officePath"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment