-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Feature/5.x build output #2806
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
Feature/5.x build output #2806
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <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$)" /> |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/me 😭
daa0d0c to
76b696c
Compare
* build projects to build/output * Parameterize JSON.Net dependency (cherry picked from commit 98ae32b)
* build projects to build/output * Parameterize JSON.Net dependency (cherry picked from commit 98ae32b)
* build projects to build/output * Parameterize JSON.Net dependency (cherry picked from commit 98ae32b)

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 structurebuild/output/<Project>/<TFM>build/outputPathsmodule