-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making initial migration to FAKE/Paket.
- Loading branch information
Ian Davis
authored and
Ian Davis
committed
Jul 24, 2016
1 parent
e6b2fb6
commit 4d63bb8
Showing
12 changed files
with
108 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,6 @@ release | |
*.cache | ||
MSBuildOutput.txt | ||
Packages/ | ||
TestResults/ | ||
.fake/ | ||
TestResult* | ||
.paket/paket.exe |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@echo off | ||
cls | ||
|
||
.paket\paket.bootstrapper.exe | ||
if errorlevel 1 ( | ||
exit /b %errorlevel% | ||
) | ||
|
||
.paket\paket.exe restore | ||
if errorlevel 1 ( | ||
exit /b %errorlevel% | ||
) | ||
|
||
packages\FAKE\tools\FAKE.exe build.fsx %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#r @"packages/FAKE/tools/FakeLib.dll" | ||
open Fake | ||
open Fake.FileHelper | ||
open Fake.Testing.NUnit3 | ||
|
||
RestorePackages() | ||
|
||
let buildDir = "build" | ||
let nunit3 = "./packages/NUnit.ConsoleRunner/tools/nunit3-console.exe" | ||
|
||
CreateDir buildDir | ||
|
||
Target "Clean" (fun _ -> | ||
CleanDir "build" | ||
) | ||
|
||
Target "Compile" (fun _ -> | ||
let buildMode = getBuildParamOrDefault "buildMode" "Release" | ||
let setParams defaults = | ||
{ defaults with | ||
Verbosity = Some(Quiet) | ||
Targets = ["Build"] | ||
Properties = | ||
[ | ||
"Optimize", "True" | ||
"DebugSymbols", "True" | ||
"Configuration", buildMode | ||
] | ||
} | ||
build setParams "./Archetype.sln" | ||
|> DoNothing | ||
) | ||
|
||
Target "Test" (fun _ -> | ||
!! ("src/**/bin/Release/*.Tests.dll") | ||
|> NUnit3 (fun p -> | ||
{p with | ||
ShadowCopy = false | ||
WorkingDir = "./build" | ||
ToolPath = nunit3 }) | ||
) | ||
|
||
"Clean" | ||
==> "Compile" | ||
==> "Test" | ||
|
||
|
||
RunTargetOrDefault "Test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
source https://nuget.org/api/v2 | ||
|
||
nuget FAKE | ||
nuget NUnit 3.4.1 | ||
nuget NUnit.Runners 3.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
NUGET | ||
remote: https://www.nuget.org/api/v2 | ||
FAKE (4.35) | ||
NUnit (3.4.1) | ||
NUnit.ConsoleRunner (3.4.1) | ||
NUnit.Extension.NUnitProjectLoader (3.4.1) | ||
NUnit.Extension.NUnitV2Driver (3.4.1) | ||
NUnit.Extension.NUnitV2ResultWriter (3.4.1) | ||
NUnit.Extension.TeamCityEventListener (1.0.1) | ||
NUnit.Extension.VSProjectLoader (3.4.1) | ||
NUnit.Runners (3.4.1) | ||
NUnit.ConsoleRunner (>= 3.4.1) | ||
NUnit.Extension.NUnitProjectLoader (>= 3.4.1) | ||
NUnit.Extension.NUnitV2Driver (>= 3.4.1) | ||
NUnit.Extension.NUnitV2ResultWriter (>= 3.4.1) | ||
NUnit.Extension.TeamCityEventListener (>= 1.0.1) | ||
NUnit.Extension.VSProjectLoader (>= 3.4.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters