Monkey and SVN – Auto delete .build and .svn

Posted by on January 24, 2014

Couple useful bats

These are a couple basic yet useful bat files (alright you got me, I mostly develop in Windows… but don’t judge just yet!) to wipe clean build directories and svn directories accordingly.

For wiping out the .build directory on a Monkey project (monkey-x, monkeycoder):

for /d %%x in (*.build) do rd /s /q "%%x"

.svn cleaner: (recursive)

for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn"

That’s it for now, enjoy!

0 Comments on Monkey and SVN – Auto delete .build and .svn

Closed