Fix build on linux and add build.sh

This commit is contained in:
ta264
2015-07-04 13:10:11 +01:00
committed by Keivan Beigi
parent 8f9e076325
commit d41dd05d00
7 changed files with 272 additions and 10 deletions
@@ -1,4 +1,5 @@
using Nancy;
using System;
using Nancy;
using Nancy.Bootstrapper;
using NzbDrone.Api.Frontend;
@@ -15,7 +16,7 @@ namespace NzbDrone.Api.Extensions.Pipelines
public void Register(IPipelines pipelines)
{
pipelines.AfterRequest.AddItemToStartOfPipeline(Handle);
pipelines.AfterRequest.AddItemToStartOfPipeline((Action<NancyContext>) Handle);
}
private void Handle(NancyContext context)