Skip to content

Build improvements #1207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Jan 22, 2015
Merged

Build improvements #1207

merged 23 commits into from
Jan 22, 2015

Conversation

Mpdreamz
Copy link
Member

This PR introduces several build improvements.

Refactored build.fsx

Our build script did a ton in a single file, not a bad thing if you write top quality f# but as a novice I'm not quite there yet. Split our build features and tried to introduce better typing.

Move to paket from nuget

This is somewhat controversial, paket solves a lot of problems nuget will with its 3.0 release as well. Paket solves them for us right now though.

The feature we really needed is that paket does not fixate reference hint paths at install time, based on the current framework, in csproj files. It'll resolve them at build time meaning you can just pass TargetFrameworkVersion to msbuild and not worry! HUGE!

We might move back once nuget 3.0 gets released and if it solves all our problems equally well.

NOTE: this does not mean we will stop publishing on nuget! paket is simply a better package manager client but does not replace nuget server.

Proper .NET 4.5 builds

We now do proper .NET 4.5 builds alongside our default .NET 4.0 builds, without introducing seperate csproj files, ty paket!. This means our nuget packages will now work on aspnet50! Do note that we still do not support aspnetcore50 as of yet!

WIP

  • registering fakelib works on windows but not on mono, it needs #r "FakeLib.dll" but from visual studio it needs #r @"../tools/FAKE/tools/FakeLib.dll" I can switch to the first and have it work on windows too but then visual studio gets upset.
  • Build should work on Windows/OSX and Linux

@Mpdreamz Mpdreamz added the WIP label Jan 20, 2015
@Mpdreamz Mpdreamz removed the WIP label Jan 21, 2015
@gmarz
Copy link
Contributor

gmarz commented Jan 22, 2015

Nice work @Mpdreamz ! Huge 👍 to the refactoring of the build script.

gmarz added a commit that referenced this pull request Jan 22, 2015
@gmarz gmarz merged commit 8c00ecb into develop Jan 22, 2015
@gmarz gmarz deleted the feature/move-to-paket branch January 22, 2015 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants