Created
October 25, 2012 22:40
-
-
Save cianclarke/3955923 to your computer and use it in GitHub Desktop.
Don't do this
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NO! NO! NO! DON'T EVER DO THIS EVER EVER AGAIN | |
// Now, remove everything except the zip we just made | |
exec("rm -rf `ls | grep -v 'p.zip$'`; rm -rf .git", { | |
cwd: repoPath | |
}, function(error, stdout, stdett){ | |
// Don't care... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment