Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@charrsky
Copy link
Collaborator

Resolves #52

@charrsky charrsky requested a review from chshersh as a code owner July 26, 2022 22:19
Copy link
Owner

@chshersh chshersh left a 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
Comment on lines 112 to 123
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
```
Copy link
Owner

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

@charrsky charrsky changed the title Include stack building instructions [#52] Include stack building instructions (#54) Jul 27, 2022
@charrsky charrsky changed the title [#52] Include stack building instructions (#54) [#52] Include stack building instructions Jul 27, 2022
@charrsky charrsky self-assigned this Jul 27, 2022
Copy link
Owner

@chshersh chshersh left a 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]>
@charrsky charrsky added the documentation Improvements or additions to documentation label Jul 27, 2022
Copy link
Owner

@chshersh chshersh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat!

@chshersh chshersh merged commit ba70e90 into chshersh:main Jul 27, 2022
@charrsky charrsky deleted the issue-52-stack-instructions branch July 27, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add instructions to build project with stack

2 participants