Commit 510717b6 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[DOC] README

parent 9cb97aef
Pipeline #5494 failed with stages
in 29 minutes and 23 seconds
...@@ -74,21 +74,6 @@ cabal update ...@@ -74,21 +74,6 @@ cabal update
cabal install cabal install
``` ```
#### Section for Developers only
Once you have a valid version of `cabal`, building requires generating a valid `cabal.project`. This can be done by installing `stack2cabal`:
```shell
cabal v2-install stack2cabal-1.0.14
```
And finally:
```shell
stack2cabal --no-run-hpack -p '2023-06-25'
cabal v2-build
```
#### With Stack #### With Stack
Install [Stack (or Haskell Tool Stack)](https://docs.haskellstack.org/en/stable/): Install [Stack (or Haskell Tool Stack)](https://docs.haskellstack.org/en/stable/):
...@@ -110,9 +95,24 @@ stack build --fast ...@@ -110,9 +95,24 @@ stack build --fast
``` ```
#### Keeping the cabal.project updated with stack.yaml #### Keeping the cabal.project updated with stack.yaml
(Section for Developers using cabal only)
Once you have a valid version of `cabal`, building requires generating a valid `cabal.project`. This can be done by installing `stack2cabal`:
```shell
cabal v2-install stack2cabal-1.0.14
```
And finally:
```shell
stack2cabal --no-run-hpack -p '2023-06-25'
cabal v2-build
```
Simply run: Simply run:
```shell ```shell
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment