Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Jul 14, 2017

This PR is a return to outputting the build for all projects from the command line to build/output. All projects build there with the following dir structure build/output/<Project>/<TFM>

  • package nuget packages from build/output
  • remove superfluous properties from Paths module
  • specify Json.NET version dependency in one place and parameterize in nuspec file.

@russcam russcam requested a review from Mpdreamz July 25, 2017 10:34
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return of the outputpath.props!
LGTM

<dependency id="System.Linq.Queryable" version="[4.0.1, )" />
<dependency id="Elasticsearch.Net" version="[$version$, $nextMajorVersion$)" />
<dependency id="Newtonsoft.Json" version="[10,11)" />
<dependency id="Newtonsoft.Json" version="[$jsonDotNetCurrentVersion$, $jsonDotNetNextVersion$)" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ 💯

DotNetProject.All |> Seq.iter(fun p -> CleanDir(Paths.BinFolder p.Name))
| (_, _) ->
tracefn "Skiping clean target only run when calling 'release', 'canary', 'clean' as targets directly"
tracefn "Skipping clean target only run when calling 'release', 'canary', 'clean' as targets directly"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/me 😭


let year = sprintf "%i" DateTime.UtcNow.Year

let jsonDotNetVersion = 10
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would have given this PR ⭐️⭐️⭐️⭐️⭐️ had this been read from our csproj files.

That said, submitting a PR that brings us back to paket soon so might have been waisted effort.

let buildVersion = if (isNullOrEmpty bv) then None else Some(parse(bv))
match (getBuildParam "target", buildVersion) with
| ("release", None) -> failwithf "can not run release because no explicit version number was passed on the command line"
| ("release", None) -> failwithf "cannot run release because no explicit version number was passed on the command line"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/me 😭

@russcam russcam force-pushed the feature/5.x-build-output branch from daa0d0c to 76b696c Compare July 26, 2017 06:28
@russcam russcam merged commit 98ae32b into 5.x Jul 26, 2017
russcam added a commit that referenced this pull request Jul 26, 2017
* build projects to build/output
* Parameterize JSON.Net dependency

(cherry picked from commit 98ae32b)
russcam added a commit that referenced this pull request Jul 26, 2017
* build projects to build/output
* Parameterize JSON.Net dependency

(cherry picked from commit 98ae32b)
awelburn pushed a commit to Artesian/elasticsearch-net that referenced this pull request Nov 6, 2017
* build projects to build/output
* Parameterize JSON.Net dependency

(cherry picked from commit 98ae32b)
@Mpdreamz Mpdreamz deleted the feature/5.x-build-output branch January 30, 2018 15:08
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.

3 participants