Skip to content
Henrik edited this page Aug 21, 2014 · 1 revision

Like, msbuild, but for Linux/mono.

xbuild :build do |cmd|
  cmd.solution = "path/to/solution"
  cmd.targets = [:Clean, :Build]
  cmd.properties = {:Configuration => "Release"}
end

Required Parameters

Solution

The location of the solution file.

solution = "path/to/solution"

Optional Parameters

Targets

An array of valid msbuild targets for this solution.

targets = [:Clean, :Build]

Properties

A hash of any other valid key/value properties.

properties = {:Configuration => "Release"}

Verbosity

The built-in verbosity of the xbuild application (same as in the msbuild task).

verbosity = "minimal"

Guidance

(none)

Clone this wiki locally