Skip to content

Instantly share code, notes, and snippets.

@jhollingworth
Created September 1, 2010 10:18
Show Gist options
  • Select an option

  • Save jhollingworth/560503 to your computer and use it in GitHub Desktop.

Select an option

Save jhollingworth/560503 to your computer and use it in GitHub Desktop.
build = msbuild :msbuild do |msb|
msb.properties :configuration => @env.local? ? :Debug : :Release, :outdir => @env.output_dir
msb.targets :Clean, :Build
msb.solution = @env.root + '/' + @env.solution
msb.verbosity = @env.debug? ? :normal : :quiet
if @env.teamcity?
msb.parameters "/l:JetBrains.BuildServer.MSBuildLoggers.MSBuildLogger,#{@env.tools.msbuild_logger}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment