Mercurial > silverbladetech
changeset 5:877d70fb8176
Added batch files to clean solution
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Mon, 20 Feb 2012 23:07:37 +0700 |
parents | 57f20ba55884 |
children | c812bca7b1ac |
files | clean-with-scc.bat clean.bat |
diffstat | 2 files changed, 43 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clean-with-scc.bat Mon Feb 20 23:07:37 2012 +0700 @@ -0,0 +1,25 @@ +del /s /ah /f *.suo +del /s /f *.user +del /s /f *.cache +del /s /f *.scc +del /s /f *.vssscc +del /s /f *.vspscc +del /s /f *.keep +del /s /ah /f vssver2.scc +del /s /ah StyleCop.Cache +del /s /ah .hgignore + +rd /s /q bin obj ClientBin _Resharper.* _Upgrade* TestResults .svn .hg + +del dirs.txt +dir /s /b /ad bin > dirs.txt +dir /s /b /ad obj >> dirs.txt +dir /s /b /ad ClientBin >> dirs.txt +dir /s /b /ad _Resharper.* >> dirs.txt +dir /s /b /ad _Upgrade* >> dirs.txt +dir /s /b /ad TestResults >> dirs.txt +dir /s /b /ad .svn >> dirs.txt +dir /s /b /ad .hg >> dirs.txt + +for /f "delims=;" %%i in (dirs.txt) DO rd /s /q "%%i" +del dirs.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clean.bat Mon Feb 20 23:07:37 2012 +0700 @@ -0,0 +1,18 @@ +del /s /ah /f *.suo +del /s /f *.user +del /s /f *.cache +del /s /f *.keep +del /s /ah StyleCop.Cache + +rd /s /q bin obj ClientBin _Resharper.* _Upgrade* TestResults + +del dirs.txt +dir /s /b /ad bin > dirs.txt +dir /s /b /ad obj >> dirs.txt +dir /s /b /ad ClientBin >> dirs.txt +dir /s /b /ad _Resharper.* >> dirs.txt +dir /s /b /ad _Upgrade* >> dirs.txt +dir /s /b /ad TestResults >> dirs.txt + +for /f "delims=;" %%i in (dirs.txt) DO rd /s /q "%%i" +del dirs.txt