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

Cabal init project command? #5005

Closed
gbaz opened this issue Jan 7, 2018 · 3 comments
Closed

Cabal init project command? #5005

gbaz opened this issue Jan 7, 2018 · 3 comments

Comments

@gbaz
Copy link
Collaborator

gbaz commented Jan 7, 2018

Should we generate a skeleton project file like we do a skeleton config file? cabal init project? cabal project-init?

@hvr
Copy link
Member

hvr commented Jan 7, 2018

Here's a couple of questions OTTOMH which may or may not help figure out a design:

  • How would that skeleton look like? What arguments/flags should cabal init --project have?
  • Which heuristics would it implement?
  • Would it, like cabal init, ask the user a series of questions?
  • Would it make sense to include this functionality simply as part of cabal init ("Do you want to create a cabal.project file?")?
  • Would this overlap with cabal new-configure which can generate a cabal.project.local file which has the same syntax as a cabal.project file?

@23Skidoo
Copy link
Member

23Skidoo commented Jan 7, 2018

Making this part of cabal init is IMO the right way.

@gbaz
Copy link
Collaborator Author

gbaz commented Jun 23, 2022

Considering this now, and based on more recent discussions.. I think that cabal configure is really the approach here.

@gbaz gbaz closed this as completed Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants