diff --git a/README.md b/README.md index 37e29c8..faeaeed 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Feliz.Router [![Nuget](https://img.shields.io/nuget/v/Feliz.Router.svg?maxAge=0&colorB=brightgreen)](https://www.nuget.org/packages/Feliz.Router) +# Feliz.Router [![Nuget](https://img.shields.io/nuget/v/Feliz.Router.svg?maxAge=0&colorB=brightgreen)](https://www.nuget.org/packages/Feliz.Router) [![Build status](https://ci.appveyor.com/api/projects/status/qwjte2b9vn43j9ff?svg=true)](https://ci.appveyor.com/project/Zaid-Ajaj/feliz-router) An Elmish router that is focused, powerful yet extremely easy to use. Made for developer happiness. diff --git a/appveyor.yml b/appveyor.yml index 5d46d4e..7c23628 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,6 +14,8 @@ cache: install: # install latest dotnet core 3 preview - cmd: choco install dotnetcore-sdk --pre + - cmd: dotnet tool install -g fake-cli + - cmd: dotnet tool install -g paket # Get the latest stable version of Node.js - ps: Install-Product node $env:nodejs_version # # Update npm @@ -24,6 +26,6 @@ install: os: Visual Studio 2017 build_script: - - cmd: build.cmd Build + - cmd: fake build -t test test: off \ No newline at end of file diff --git a/build.fsx b/build.fsx index 545e7be..058a8be 100644 --- a/build.fsx +++ b/build.fsx @@ -74,6 +74,8 @@ Target.create "RestoreFableTestProject" <| fun _ -> Target.create "RunLiveTests" <| fun _ -> run npmTool "start" "." +Target.create "Test" <| fun _ -> run npmTool "test" "." + let publish projectPath = [ projectPath "bin" projectPath "obj" ] |> Shell.cleanDirs @@ -102,12 +104,15 @@ open Fake.Core.TargetOperators "Clean" ==> "InstallNpmPackages" - ==> "RestoreFableTestProject" ==> "RunLiveTests" "Clean" ==> "InstallNpmPackages" - ==> "RestoreFableTestProject" + ==> "Test" + + +"Clean" + ==> "InstallNpmPackages" ==> "CompileFableTestProject" ==> "Build" diff --git a/package.json b/package.json index 8070c5c..4c550f2 100644 --- a/package.json +++ b/package.json @@ -26,4 +26,4 @@ "react": "^16.8.6", "react-dom": "^16.8.6" } -} \ No newline at end of file +}