facebook-csharp-sdk/facebook-csharp-sdk — pull request #149 by prabirshrestha (2012-04-01 22:32:42+00:00)
Title: Jakefile

pull request for #148

I have removed rakefile and albacore. (Haven't yet removed build.cmd and clean.cmd).
Added jakefile.js and Build/njake.js.

**Getting started**
* install node.js
* `npm install -g jake` (linux/mac users need to run using `sudo`)

**List of currently available tasks**
`jake -T`

```
$ jake -T
Facebook C# SDK v6.0.10
jake default # Build all binaries, run tests and create nuget and symbolsource packages
jake build:net45 # Build .NET 4.5 binaries
jake build:net40 # Build .NET 4.0 binaries
jake build:net35 # Build .NET 3.5 binaries
jake build:winrt # Build WinRT(Metro) binaries
jake build:wp71 # Build Windows Phone 7.1 binaries
jake build:sl5 # Build Silverlight 5 binaries
jake test # Run tests
jake nuget:pack # Create NuGet and SymbolSource pacakges
```

You can also execute default task using just `jake`.

I have also added mono build support, but current will not be listed when running `jake -T` nor will it build correctly due to the nuget package restore. (Since mono is not yet supported now I think it is fine to leave this.) It might be better to have Facebook-Mono.sln

*You will get build errors but here is how to build under mono*

**Build using Mono in Windows**

```
jake build:mono['C:\Program Files (x86)\Mono-2.10.8\bin\xbuild.bat']
```

**Build using Mono in Linux/Mac**

(Assumes xbulid is in environment path)
```
jake build:mono
```