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

Stack should install gotta-go-fast in a single command #3308

Closed
alexanderkjeldaas opened this issue Aug 2, 2017 · 4 comments
Closed

Stack should install gotta-go-fast in a single command #3308

alexanderkjeldaas opened this issue Aug 2, 2017 · 4 comments

Comments

@alexanderkjeldaas
Copy link
Contributor

alexanderkjeldaas commented Aug 2, 2017

See https://github.com/hot-leaf-juice/gotta-go-fast

Bad:

$ git clone https://github.com/hot-leaf-juice/gotta-go-fast
$ cd gotta-go-fast
$ stack install

Good, cool and hip:

stack install https://github.com/hot-leaf-juice/gotta-go-fast
@tfausak
Copy link
Contributor

tfausak commented Aug 2, 2017

This would be great! Original discussion on Reddit: https://www.reddit.com/r/haskell/comments/6qzdx6/a_typing_practice_app_written_with_brick/dl1wi20/

It's worth noting that gotta-go-fast is on Hackage, so you could just do stack install gotta-go-fast. But building/installing packages from Git/web sources would be awesome. You can already do it from stack.yaml or custom snapshots, so it would be nice to do it from the command line too.

@decentral1se decentral1se added this to the P3: Optional milestone Aug 6, 2017
@decentral1se
Copy link
Member

You can already do it from stack.yaml

Should this new way of installing update your stack.yaml pointing to the Git source as per usual? Probably a good idea no? Would be easier to know after, which version was installed from source.

@tfausak
Copy link
Contributor

tfausak commented Aug 6, 2017

I don't know. When you stack install some-package-1.2.3, I don't think it modifies your stack.yaml.

@kadoban
Copy link
Collaborator

kadoban commented Aug 11, 2017

This is a duplicate of issue #1278

@kadoban kadoban closed this as completed Aug 11, 2017
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

4 participants