https://github.com/wk-j/cake-server
https://www.nuget.org/packages/Cake.SimpleHTTPServer
https://github.com/wk-j/cake-server
Last synced: 26 days ago
JSON representation
https://www.nuget.org/packages/Cake.SimpleHTTPServer
- Host: GitHub
- URL: https://github.com/wk-j/cake-server
- Owner: wk-j
- Created: 2016-06-25T19:40:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-13T09:57:04.000Z (over 8 years ago)
- Last Synced: 2025-03-05T19:51:54.782Z (about 2 months ago)
- Language: C#
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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
```csharp
Task("Start").Does(() => {
HTTPServer(9000);
});
```## Specify directory
```csharp
Task("Start-Web")
.Does(() => {
var settings = new HTTPServerSettings {
Path = "./Web",
Port = 9000
};
HTTPServer(settings);
});
```