Skip to content

Commit

Permalink
Fix reference-nover.fsx and mention it in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Jun 15, 2015
1 parent dfd7bb5 commit b9d71ce
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -12,6 +12,13 @@ To get started with Warp is super-easy, all you need is to open a new F# Console
Install-Package WebSharper.Warp
```

Or if you use [Paket](http://fsprojects.github.io/Paket/):

```
paket init
paket add nuget WebSharper.Warp
```

# Hello world!

The simplest Warp site just serves text and consist of a single endpoint (`/`), by default listening on `http://localhost:9000`.
Expand Down Expand Up @@ -210,6 +217,12 @@ let MySite =
do Warp.RunAndWaitForInput(MySite) |> ignore
```

If you use Paket, then you should replace the `#`-lines above with this one:

```fsharp
#load "../packages/WebSharper.Warp/tools/reference-nover.fsx"
```

In FSI, you should see:

```
Expand Down
14 changes: 13 additions & 1 deletion WebSharper.Warp/reference-nover.fsx
Expand Up @@ -7,4 +7,16 @@
#I "../../WebSharper/lib/net40"
#I "../../WebSharper.Compiler/lib/net40"
#I "../../WebSharper.Owin/lib/net45"
#load "reference.fsx"
#I "../lib/net45"
#r "WebSharper.Core.dll"
#r "WebSharper.Core.JavaScript.dll"
#r "WebSharper.JavaScript.dll"
#r "WebSharper.Main.dll"
#r "WebSharper.Html.Server.dll"
#r "WebSharper.Html.Client.dll"
#r "WebSharper.Sitelets.dll"
#r "WebSharper.Web.dll"
#r "IntelliFactory.Core.dll"
#r "Mono.Cecil.dll"
#r "WebSharper.Compiler.dll"
#r "WebSharper.Warp.dll"

0 comments on commit b9d71ce

Please sign in to comment.