Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cake.SimpleHTTPServer.Tests
Cake.SimpleHTTPServer Include XML document in NuGet package #3 Nov 13, 2016
Samples Documentation #3 Nov 13, 2016
Tests Initial commit Jun 25, 2016
.gitignore Documentation #3 Nov 13, 2016
Cake.SimpleHTTPServer.sln Documentation #3 Nov 13, 2016
README.md Documentation #3 Nov 13, 2016
build.cake Include XML document in NuGet package #3 Nov 13, 2016
build.cmd Documentation #3 Nov 13, 2016
build.ps1
build.sh Initial commit Jun 25, 2016

README.md

Cake.SimpleHTTPServer

https://gist.github.com/aksakalli/9191056

Notes

  • This addin is not working under MONO.

Install

#addin "nuget:?package=Cake.SimpleHTTPServer"

Start server in current directory

Task("Start").Does(() => {
    HTTPServer(9000);
});

Specify directory

Task("Start-Web")
    .Does(() => {
        var settings = new HTTPServerSettings {
            Path = "./Web",
            Port = 9000
        };
        HTTPServer(settings);
    });
You can’t perform that action at this time.