diff options
Diffstat (limited to 'compiler/readme.md')
-rw-r--r-- | compiler/readme.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/compiler/readme.md b/compiler/readme.md index 3aa053c..5ffe924 100644 --- a/compiler/readme.md +++ b/compiler/readme.md | |||
@@ -1 +1,14 @@ | |||
1 | # ldgallery-compiler | 1 | # ldgallery-compiler |
2 | |||
3 | ## Build | ||
4 | |||
5 | Building this project requires the [stack] tool. | ||
6 | |||
7 | [stack]: https://haskellstack.org/ | ||
8 | |||
9 | Within the project's directory, use | ||
10 | |||
11 | * `stack setup` to setup the development environment and compiler. | ||
12 | * `stack build` to compile the project. | ||
13 | * or `stack build --fast --file-watch --pedantic` to automatically compile on file change. | ||
14 | * `stack exec ldgallery-compiler-exe -- --help` to run the compiled program (and displaying its help text for instance). | ||