-
Notifications
You must be signed in to change notification settings - Fork 526
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
WIP Fix dotnetcore #2256
WIP Fix dotnetcore #2256
Conversation
… parsing logic simpler in future steps.
src/Paket.Core/InstallModel.fs
Outdated
if List.isEmpty installModel.CompileLibFolders then | ||
// TODO: Ask forki about this wtf | ||
let folders = calcLegacyReferenceLibFolders [{ FullPath ="lib/Default.dll"; PathWithinPackage = "lib/Default.dll" }] | ||
{ installModel with CompileLibFolders = folders } |
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.
@forki ...
Urgs. I have no memory about that shit
Am 19.04.2017 12:25 schrieb "Matthias Dittrich" <[email protected]>:
… ***@***.**** commented on this pull request.
------------------------------
In src/Paket.Core/InstallModel.fs
<#2256 (comment)>:
> |> List.exists (fun t -> t >= min && t < max && t.IsSameCategoryAs(min)))
-
- let model =
- if List.isEmpty installModel.LegacyReferenceFileFolders then
- let folders = calcLibFolders installModel.PackageName ["lib/Default.dll"]
- { installModel with LegacyReferenceFileFolders = folders }
+
+ let model =
+ if List.isEmpty installModel.CompileLibFolders then
+ // TODO: Ask forki about this wtf
+ let folders = calcLegacyReferenceLibFolders [{ FullPath ="lib/Default.dll"; PathWithinPackage = "lib/Default.dll" }]
+ { installModel with CompileLibFolders = folders }
@forki <https://github.com/forki> ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2256 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNA8ZaBzJJNm3VQTneVJfFcOi0KT7ks5rxeD-gaJpZM4NAUiv>
.
|
…uns the integration test suite
[WIP] Project Organization
Redirect order integration test
let path = Path.Combine(dir.FullName.ToLower(), subFolderName) | ||
if dir.Exists then | ||
dir.GetDirectories() | ||
|> Array.filter (fun fi -> String.equalsIgnoreCase fi.FullName path) | ||
|> Array.collect (fun dir -> dir.GetFiles(searchPattern, SearchOption.AllDirectories)) | ||
|> Array.map (fun file -> | ||
let fullPath = Path.GetFullPath file.FullName; |
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.
";" :)
Install Settings\n\ | ||
%A" self.Name deps self.Source self.Settings | ||
"%A\nDependencies -\n%s\nSource - %A\nInstall Settings\n%A" | ||
self.Name deps self.Source self.Settings |
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.
Did you change this because the tooling is struggling with it :P
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.
yea it's the stupid error because of the backslash at the end of the line
member this.RemoveIfCompletelyEmpty() = InstallModel.removeIfCompletelyEmpty this | ||
|
||
static member CreateFromLibs(packageName, packageVersion, frameworkRestrictions:FrameworkRestriction list, libs : UnparsedPackageFile seq, targetsFiles, analyzerFiles, nuspec : Nuspec) = | ||
InstallModel.createFromLibs packageName packageVersion frameworkRestrictions libs targetsFiles analyzerFiles nuspec |
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.
Wow not even git recognizes that this file existed before and thinks it was deleted and added again :)
dep.SetAttributeValue(XName.Get "version", "0.0") | ||
else | ||
dep.SetAttributeValue(XName.Get "version", version) | ||
dep |
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.
I hand-crafted @forki's fix in here because git wouldn't recognize this file anymore :)
@matthid I think you can close this in lieu of #2267 at this point |
Ok, let me include and test the appveyor package on fake... |
Same as #2252 but from within the fsprojects Repository to improve collaboration with @cloudRoutine.
This should remove various hacks added over the time when I was kind of offline.
TODO:
Breaks:
works again - feels wrong/Lib/...
is lo longer supported (folder in nuget package needs to be/lib/...
Currently runtime support is removed (see above)Adds:
InstallModel
can properly resolve reference and runtime assemblies (required in FAKE vNext for compilation and running of scripts)