aboutsummaryrefslogtreecommitdiff
path: root/compiler/readme.md
diff options
context:
space:
mode:
authorpacien2020-01-05 10:43:48 +0100
committerpacien2020-01-05 10:43:48 +0100
commit5367781f0c7fd1ce274492ba91895fef9d44dab3 (patch)
treee9607211188e1ab73cb057e72863297f004f5d53 /compiler/readme.md
parent1a0f4b17fc77c4b330c43185a15230e67116a3aa (diff)
downloadldgallery-5367781f0c7fd1ce274492ba91895fef9d44dab3.tar.gz
add manual
Diffstat (limited to 'compiler/readme.md')
-rw-r--r--compiler/readme.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/compiler/readme.md b/compiler/readme.md
index 5ffe924..e18b026 100644
--- a/compiler/readme.md
+++ b/compiler/readme.md
@@ -1,8 +1,9 @@
1# ldgallery-compiler 1# ldgallery-compiler
2 2
3
3## Build 4## Build
4 5
5Building this project requires the [stack] tool. 6Building the _ldgallery compiler_ requires the [stack] tool.
6 7
7[stack]: https://haskellstack.org/ 8[stack]: https://haskellstack.org/
8 9
@@ -10,5 +11,10 @@ Within the project's directory, use
10 11
11* `stack setup` to setup the development environment and compiler. 12* `stack setup` to setup the development environment and compiler.
12* `stack build` to compile the project. 13* `stack build` to compile the project.
13* or `stack build --fast --file-watch --pedantic` to automatically compile on file change. 14* or `stack build --fast --file-watch` 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). 15* `stack exec ldgallery-compiler-exe -- --help` to run the compiled program (and displaying its help text for instance).
16
17
18### Embedded viewer
19
20In order to allow the `ldgallery` command line tool to generate a full gallery which includes the _viewer_, a compiled version of the web app must be placed under `./data/viewer`. The `--with-viewer` flag will otherwise not be functional.