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

Syntax for FST-1027 #3018

Closed
matthid opened this issue Jan 29, 2018 · 2 comments
Closed

Syntax for FST-1027 #3018

matthid opened this issue Jan 29, 2018 · 2 comments
Labels

Comments

@matthid
Copy link
Member

matthid commented Jan 29, 2018

Description

As I'd like to implement fsprojects/FAKE#1768 in FAKE we should decide on a syntax (just that in future the FAKE code can be simplified and/or users are not confused).

#r "paket: storage: none"
#r "paket: source https://api.nuget.org/v3/index.json"
#r "paket: nuget Fake.Core.Target prerelease"

seems straight forward. I have a bit trouble with

#r "paket: group somegroupname"

Because from a users perspective it can mean two things:

  • Reference a group in a paket.dependencies named somegroupname
  • Start a new group with other packages within the script file

No matter which way we go do we need a syntax for the other case? If yes what would be the preferred way?

@matthid
Copy link
Member Author

matthid commented Jan 29, 2018

For now I'll go with:

#r "paket: group somegroupname"

Creates a new group

#r "paket: groupref somegroupname"

References a group.

@matthid
Copy link
Member Author

matthid commented Feb 13, 2018

As nobody has an opinion on that I leave it as is :P

@matthid matthid closed this as completed Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants