Repository navigation
Move NUnit dependency and invoke nuget always in cmd script - #68
Conversation
|
Hi Tomas, Steffen fixed an issue with the --fsiargs option in FAKE 3.2.1. I originally tried to specify a minimum bound on the version, but that doesn't work with nuget.exe unfortunately. Anyway, it's not necessary given that the current version of FAKE on nuget is greater. The reason for skipping the install was just to save time on the build. I'm thinking specifically about CI here; I wouldn't want FAKE changing there. I'll defer to your better judgement on this case. I'll confirm that this works on my machine, and it looks like it is working in Travis. |
|
Hi Tomas, this seems unrelated but here's an error output. The build actually succeeded in spite of the error. |
|
The error above is the same as in #65. I'm going to comment further there. |
|
As for the documentation failure, there is some Razor bug that I don't fully understand. I'll see what can be done (in the other discussion). As for FAKE - I think nuget does only a reasonably quick check if you have the latest version. So, there is some overhead, but not too bad one. As for the version updating - I actually think it is better when the version updates on your machine. Otherwise, you may end up using old version and others who clone the project & run build might not be able to build it, because they'll have different version of FAKE (the other option is to require fixed version, but that does not sound so good to me). I think @forki is the right person to tell us what the best practice is! |
Move NUnit dependency and invoke nuget always in cmd script
I noticed that the
build.shfile has a hard-coded version of FAKE. This does not sound right to me.. or is there any reason for that?Also,
build.cmdalways triggersnuget install, which will automatically update FAKE if you have an old version. It sounds sensible to do this on *nix too.@caindy - Could you please check that this works well on a Mac? (Or in case I'm missing something, let me know what the problem with latest FAKE was...)