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:
<!-- 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 π π?
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
https://github.com/dustinmoris/Giraffe/compare/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:
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
https://github.com/dustinmoris/Giraffe/issues/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" <[email protected]
:
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
https://github.com/dustinmoris/Giraffe/issues/130#issuecomment-342036231,
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
https://github.com/dustinmoris/Giraffe/issues/130#issuecomment-342064395,
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 .fsproj to use either Paket.Restore.targets or PackageReference and include the paket.references file (if paket is enabled). I think its a minimal change, only will touch the template and benefit the users who prefer paket :)
I see... yeah makes sense to give users the choice for the template!
I moved this issue to the giraffe-template repo now.
Most helpful comment
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: