You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gerd Heber edited this page Jan 31, 2017
·
2 revisions
Usage
To build the project simply run build.cmd. This will build the latest version (upper most entry in RELEASE_NOTES.md).
It's possible to specify a specific version (1.8 or 1.10): build.cmd ver=1.8 or build.cmd ver=1.10.
build.cmd CMD ver=VER:
CMD
Description
Build
Builds the solution (using MSBuild)
Test
Executes the UnitTests (using MSTest). This is the default command.
GenTemplate
Generates the template file required by Paket to generate the NuGet-package (paket.template)
NuGet
Pack the NuGet-package (temp/HDF.PInvoke.VERSION.nupkg)
Deploy
Push the NuGet-package to the NuGet server
Deploy is not untested.
"Explanation"
All of this is specified within build.fsx.
An .fsx file is an F#-Script file. It will be executed by Fake.exe when calling build.cmd. Since Fake isn't part of the repository Paket will download it. This is pretty much the recommended way.
Examples
build.cmd Test ver=1.10
build.cmd NuGet ver=1.8
UPDATE
Renamed RunTests to Test so it is shorter and is more similar to the other commands.
OLD STUFF:
(Typically, we will update 1.8 and 1.10, but there could be changes which affect only one API.)