You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it would be fine if we could tell paket that Cassette is only used in .NET 4.0 and higher.
This is somewhat similar to @haf's idea in #322 which was a bit too much at that time.
But now we have all the bits already under the hood and only need to expose this to the paket.dependencies file.
To make it similar to the paket.lock file where this is already used I propose this:
Paket gets more and more tweaking options for the user, which I consider a good thing. I think we need a unified syntax to parse these, be it the recently added CopyLocal or this FrameworkConstraint (what's it called internally?).
Ruby/bundler uses hashes for optional switches and I think we should settle on something similar.
Another thought on casing: Paket started with source, nuget etc. downcased (haven't tested if other casing would even work), but with the CopyLocal options we move in the Pascal case direction. I'd prefer a syntax that would be consistent in that regard.
Activity
agross commentedon Jan 31, 2015
Paket gets more and more tweaking options for the user, which I consider a good thing. I think we need a unified syntax to parse these, be it the recently added
CopyLocalor thisFrameworkConstraint(what's it called internally?).Ruby/bundler uses hashes for optional switches and I think we should settle on something similar.
I would prefer if we used
:instead of=to separate keys from values becauseFramework = >= net40needs brains to parse.Another thought on casing: Paket started with
source,nugetetc. downcased (haven't tested if other casing would even work), but with theCopyLocaloptions we move in the Pascal case direction. I'd prefer a syntax that would be consistent in that regard.You're probably right if you say that it looks like Ruby now. But from a readability point of view, I think it works better than Pascal case.
forki commentedon Jan 31, 2015
ok let's use
please update this also in #569
Parse framework restrictions from DependenciesFile - references #574
forki commentedon Jan 31, 2015
Success! The latest alpha version alows to use the following: