Skip to content

Commit

Permalink
Accept ghc flags in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
flbulgarelli committed Jan 4, 2021
1 parent 69fc9f3 commit 29d292e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ echo "[Mulang] Running generators...."
./generators/run

echo "[Mulang] Building with stack...."
stack build
stack build $@
4 changes: 3 additions & 1 deletion docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ To generate `mulang` executable, you have to build the project using [stack](htt

1. Install stack: `wget -qO- https://get.haskellstack.org/ | sh`
2. Go to the mulang project directory and setup it: `stack setup`
4. Build the project: `./build.sh`
4. Build the project:
1. If you need a production ready build, run `./build.sh`
2. If you just need a quick-to-compile development version, run `./build.sh --fast`

## Installing and creating an executable

Expand Down

0 comments on commit 29d292e

Please sign in to comment.