-
Notifications
You must be signed in to change notification settings - Fork 519
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
Pack localized assemblies. #1807
Conversation
| let includeattribute = "Include" | ||
| this.ProjectNode | ||
| |> getDescendants "EmbeddedResource" | ||
| |> List.filter (fun n -> n |> hasAttribute includeattribute) |
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.
why not point free?
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.
What does it mean?
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.
means (fun n -> n |> hasAttribute includeattribute) is the same as (hasAttribute includeattribute)
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.
Thanks.
16c773d
to
d935beb
Compare
|
Awesome! Only one important thing left: docs. ;-) Could you please add a small bit about this auto-packing of satelitte assemblies? |
|
|
||
| let template = | ||
| satelliteDlls | ||
| |> Seq.fold (fun template dll -> addFile (fst dll).FullName (snd dll) template) template |
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.
you could decompose dll here:
|> Seq.fold (fun template (dllFile, targetDir) -> addFile dllFile.FullName targetDir template) templateThere 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.
Nice, I was stuck on that one for a while, used a fuzzying process.
|
@forki updated with a mention in docs. |
|
mhmm looks like it's broken on mono. can you please take a look? |
|
we also got a regression, so I reverted that change for now. see #1810 |
|
I'll be mostly afk for a couple of days. Checking as soon as I can. Maybe outputting a warning is better than throwing if satellite dll is not found. |
An attempt at #1806