Skip to content
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

Variables in paket.dependencies #1796

Open
pauxus opened this issue Jul 7, 2016 · 6 comments · May be fixed by #4271
Open

Variables in paket.dependencies #1796

pauxus opened this issue Jul 7, 2016 · 6 comments · May be fixed by #4271

Comments

@pauxus
Copy link
Contributor

pauxus commented Jul 7, 2016

It would be useful to allow some kind of variables or references in paket.dependencies.

Something like:

source ...

variable mylib.version >= 1.3.0

nuget mylib.dll1 ${mylib.version}
nuget mylib.dll2 ${mylib.version}

This would allow defining a common version (range) for a set of co-released libs (i.e. part of one solution).

@isaacabraham
Copy link
Contributor

Maybe someone can do string interpolation in Paket in less time than it's taken to be added into F# ;-)

@michael-baker
Copy link

I would find a variable for the source extremely useful.

@forki
Copy link
Member

forki commented Jul 12, 2016

I'm not against this, but we need to be careful.

@spassm
Copy link

spassm commented Feb 9, 2017

Hi Guys!

Any news about it?
It is valuable feature for our project too. We are distributed team on whole World and each team have local copy of NuGet-source.

Our expectations that we can introduce line to paket.dependencies like below:
source %LOCAL_NUGET_SOURCE%

Or any other way to read the system env variables or variables from paket.exe/paket.bootstrap.exe cmd args inside paket.dependencies.

We would glad to see this feature in nearest future.

Regards.

@forki
Copy link
Member

forki commented Feb 9, 2017

It's not under active development, but it's marked up for grabs. So we would probably accept pull requests

@davidtruchon
Copy link

Any clues as to where to start?

msarilar added a commit to msarilar/Paket that referenced this issue Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants