Updates to PGF2 readme

This commit is contained in:
John J. Camilleri
2020-07-28 22:54:34 +02:00
parent f00f0cb0ef
commit c53353f087
2 changed files with 14 additions and 3 deletions

View File

@@ -9,13 +9,22 @@ The exposed modules are:
## How to compile
**Note:** you must have the PGF C runtime already installed and available.
**Important:** You must have the C runtime already installed and available on your system.
See <https://github.com/GrammaticalFramework/gf-core/blob/master/src/runtime/c/INSTALL>
Once the runtine is installed, you can use:
Once the runtine is installed, you can install the library to your global Cabal installation:
```
cabal install pgf2
cabal install pgf2 --extra-lib-dirs=/usr/local/lib
```
or add it to your `stack.yaml` file:
```yaml
extra-deps:
- pgf2
extra-lib-dirs:
- /usr/local/lib
```
## How to use

View File

@@ -1 +1,3 @@
# This is mainly here so that I can run `stack sdist` for uploading to Hackage
resolver: lts-12.26 # ghc 8.4.4