Closed JanWosnitza closed 7 years ago
Thanks for all the hard work! I'll check this out tomorrow. (It's MLK Day here)
I tried to keep the changeset small.
But I think it would be good to split 1.8 and 1.10 into 2 projects like this:
So the 2 library versions can be built and tested simultaneously.
#
in a path name."Platform", "Any CPU"
missing in build.fsx
TestResults
directoryOutstanding work! I'm sorry that it took so long. I just built the 1.8.18 native binaries and will use this new mechanism to roll the 1.8.18 NuG(g)ets.
This PR contains #105 and #74.
Usage
To build the project simply run
build.cmd
. This will build the latest version (upper most entry inRELEASE_NOTES.md
). It's possible to specify a specific version (1.8 or 1.10):build.cmd ver=1.8
orbuild.cmd ver=1.10
.build.cmd CMD ver=VER
:Build
Test
GenTemplate
paket.template
)NuGet
temp/HDF.PInvoke.VERSION.nupkg
)Deploy
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
UPDATE
Renamed
RunTests
toTest
so it is shorter and is more similar to the other commands.