https://github.com/opentable/grunt-xbuild
xbuild runner for grunt
https://github.com/opentable/grunt-xbuild
Last synced: 6 months ago
JSON representation
xbuild runner for grunt
- Host: GitHub
- URL: https://github.com/opentable/grunt-xbuild
- Owner: opentable
- License: mit
- Created: 2013-08-12T19:33:59.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T17:58:34.000Z (over 9 years ago)
- Last Synced: 2024-10-29T07:51:10.067Z (7 months ago)
- Language: JavaScript
- Size: 176 KB
- Stars: 1
- Watchers: 123
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grunt-xbuild [](https://travis-ci.org/opentable/grunt-xbuild) [](http://badge.fury.io/js/grunt-xbuild) 
xbuild runner for grunt
## Getting Started:
The task requires that the [mono mdk][1] be installed and the 'xbuild' command available in the path
installing:
```shell
npm install grunt-xbuild --save-dev
```Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
```js
grunt.loadNpmTasks('grunt-xbuild');
```## XBuild task
builds and execs the xbuild command on the shell
```js
xbuild: {
build: {
options: {
sln_file: "MySolution.sln", // solution to target
configuration: "Release", // optional configuration (e.g. Debug, Release), defaults to Release
target_framework: "v4.0", // optional, defaults to 'v4.0'
properties: {
// list of extra properties to be included e.g.
outputPath: "./buildOutput/" // expands to /p:outputPath=./buildOutput/
}
}
}
}
```[1]: http://www.go-mono.com/mono-downloads/download.html