Skip to content

Instantly share code, notes, and snippets.

@alohasoftworks
Created September 21, 2009 20:04
Show Gist options
  • Select an option

  • Save alohasoftworks/190511 to your computer and use it in GitHub Desktop.

Select an option

Save alohasoftworks/190511 to your computer and use it in GitHub Desktop.
REM Rebuilds and copies files to deploy directory
SETLOCAL
SET _fromDir="C:\Users\jwest\Desktop\trunk"
SET _toDir="C:\Users\jwest\Desktop\Deploy"
msbuild /t:Clean
msbuild /t:Rebuild
robocopy %_fromDir% %_toDir% *.* /E /XO /XD ".svn" "*ReSharper*" "obj" /XF "*.pdb" "*.cs" "*.vb" "Web.Config" "*.csproj" "*.user" "*.suo" "*ReSharper*" "*.cache" "Thumbs.db" /NDL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment