-
-
Notifications
You must be signed in to change notification settings - Fork 22
[#52] Include stack building instructions #54
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
Conversation
chshersh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one suggestion to improve on the structure and help other beginners even more 👍🏻
README.md
Outdated
| To build the project and run the tests, you can use `cabal`: | ||
|
|
||
| ```shell | ||
| cabal build all | ||
| cabal test --enable-tests --test-show-details=direct | ||
| ``` | ||
| or `stack`: | ||
|
|
||
| ```shell | ||
| stack build | ||
| stack test | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's great! I'm thinking about making instructions more beginner-friendly so everyone without prior knowledge of Haskell tooling can have a quick start guide or at least pointers to where get the tooling. So something like this:
To build the project and run the tests locally, you can use either `cabal` or `stack`.
### Cabal
1. Install [GHCup](...). It also install GHC (a Haskell compiler) and `cabal` (a Haskell build tool).
2. Build the project
3. Run the tests
### Stack
1. Install [Stack](...)
2. Build the project
3. Run the tests
chshersh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment but overall looks good 🙂
Co-authored-by: Dmitrii Kovanikov <[email protected]>
chshersh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
Resolves #52