-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #259 from CaptnCodr/feature/nunit4-upgrade
NUnit 4 upgrade
- Loading branch information
Showing
11 changed files
with
73 additions
and
63 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
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 |
---|---|---|
|
@@ -64,6 +64,7 @@ let cloneUrl = "[email protected]:fsprojects/FsUnit.git" | |
|
||
// Read additional information from the release notes document | ||
let release = ReleaseNotes.load "RELEASE_NOTES.md" | ||
let version = release.AssemblyVersion | ||
|
||
// Helper active pattern for project types | ||
let (|Fsproj|Csproj|Vbproj|) (projFileName: string) = | ||
|
@@ -79,8 +80,8 @@ Target.create "AssemblyInfo" (fun _ -> | |
[ AssemblyInfo.Title(projectName) | ||
AssemblyInfo.Product project | ||
AssemblyInfo.Description summary | ||
AssemblyInfo.Version release.AssemblyVersion | ||
AssemblyInfo.FileVersion release.AssemblyVersion ] | ||
AssemblyInfo.Version version | ||
AssemblyInfo.FileVersion version ] | ||
|
||
let getProjectDetails (projectPath: string) = | ||
let projectName = System.IO.Path.GetFileNameWithoutExtension(projectPath) | ||
|
@@ -192,7 +193,7 @@ Target.create "NuGet" (fun _ -> | |
{ p with | ||
ToolType = ToolType.CreateLocalTool() | ||
OutputPath = "bin" | ||
Version = release.AssemblyVersion | ||
Version = version | ||
ReleaseNotes = String.toLines release.Notes })) | ||
|
||
Target.create "PublishNuget" (fun _ -> | ||
|
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
Oops, something went wrong.