Skip to content

Instantly share code, notes, and snippets.

@mattkruskamp
Created September 24, 2010 08:20
Show Gist options
  • Save mattkruskamp/595041 to your computer and use it in GitHub Desktop.
Save mattkruskamp/595041 to your computer and use it in GitHub Desktop.
<project name="Project Name (Stage)">
<workingDirectory>C:\Projects\ProjectNameStage\work</workingDirectory>
<artifactDirectory>C:\Projects\ProjectNameStage\art</artifactDirectory>
<sourcecontrol type="svn">
<trunkUrl>repoUrl</trunkUrl>
<executable>C:\Program Files\SlikSvn\bin\svn.exe</executable>
</sourcecontrol>
<triggers>
<intervalTrigger seconds="60" buildCondition="IfModificationExists" />
</triggers>
<tasks>
<msbuild>
<executable>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe</executable>
<projectFile>SolutionFile.sln</projectFile>
<buildArgs>/p:Configuration=Stage;DeployOnBuild=true;DeployTarget=Package;_PackageTempDir=..\publish</buildArgs>
</msbuild>
</tasks>
<publishers>
<xmllogger logDir="BuildLogs\PrrojectStageLog" />
<buildpublisher>
<sourceDir>C:\projects\ProjectUrl\publish</sourceDir>
<publishDir>\\remoteserver\sites\stagelocation\root</publishDir>
<useLabelSubDirectory>false</useLabelSubDirectory>
<alwaysPublish>false</alwaysPublish>
<cleanPublishDirPriorToCopy>true</cleanPublishDirPriorToCopy>
</buildpublisher>
</publishers>
<externalLinks>
<externalLink name="development" url="http://somestageurl.com/" />
</externalLinks>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment