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
[Template] -enablepaket flag #130
Comments
Sorry to interfere but why would you need a flag for paket?
Am 04.11.2017 21:45 schrieb "Nicolás Herrera" <notifications@github.com>:
… I'm working
<master...nicolocodev:template-enablepaket-flag>
on the template project to add the flag -enablepaket 'cause paket is nice
💪
I'm using custom operations
<https://github.com/dotnet/templating/wiki/%22Runnable-Project%22-Templates#customoperationsoperationsconfiguration-required-for-each-operation>
in order to use conditionals on .fsproj:
<!-- if(enablepaket) -->
<Import Project="..\..\.paket\Paket.Restore.targets" />
<!-- else -->
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.0.*" />
it's not working by now, always get the conditional comments on fsproj...
but what do you think 👍 👎?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#130>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNANRBG8SoxdkzX-zEs65l-RgSa8zks5szMzwgaJpZM4QSJxl>
.
|
Hi, my thoughts on this is that one project doesn't need two package managers. I think Paket is cool and if there is an easy and intuitive way to change the project to use Paket instead of NuGet then I'd be open for such a change, but making the project build with two different package managers I don't think makes sense, because at the time of a build the project doesn't care if NuGet or Paket restores the dependencies and you'd only use one package manager at a time so I don't see why to add the additional overhead of supporting two technologies when only one is ever needed? Long answer short: Either Paket or NuGet, but not both please :) |
Usually paket users are used to run paket convert-from-nuget if maintainers
of things think nuget is a good thing...
Am 06.11.2017 04:17 schrieb "Dustin Moris Gorski" <notifications@github.com
…:
Hi, my thoughts on this is that one project doesn't need two package
managers. I think Paket is cool and if there is an easy and intuitive way
to change the project to use Paket instead of NuGet then I'd be open for
such a change, but making the project build with two different package
managers I don't think makes sense, because at the time of a build the
project doesn't care if NuGet or Paket restores the dependencies and you'd
only use one package manager at a time so I don't see why to add the
additional overhead of supporting two technologies when only one is ever
needed?
Long answer short: Either Paket or NuGet, but not both please :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNMfWn3s5ZJdMmaWeGs1asL3pi4n9ks5sznpTgaJpZM4QSJxl>
.
|
Perhaps all that is needed here is some documentation on converting to paket once you scaffolded the template. Although the paket docs pretty much cover it. |
Please keep in mind if you want to use giraffe together with fable then you
need paket anyway. I mean I'm biased but why not do like most other f#
things and just provide paket?
Am 06.11.2017 08:12 schrieb "Florian Verdonck" <notifications@github.com>:
… Perhaps all that is needed here is some documentation on converting to
paket once you scaffolded the template. Although the paket docs
<https://fsprojects.github.io/Paket/convert-from-nuget-tutorial.html>
pretty much cover it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNH_9g47zghNfi6cMvkWO4zkCmH6cks5szrFogaJpZM4QSJxl>
.
|
@dustinmoris no, the project won't use both package managers (?), only the template will change the |
I see... yeah makes sense to give users the choice for the template! |
I moved this issue to the giraffe-template repo now. |
I'm working on the template project to add the flag
-enablepaket
'cause paket is nice 💪I'm using custom operations in order to use conditionals on
.fsproj
:it's not working by now, always get the conditional comments on fsproj... but what do you think 👍 👎?
The text was updated successfully, but these errors were encountered: