forked from GitHub/gf-rgl
Merge remote-tracking branch 'upstream/master' into docker-ci
This commit is contained in:
4
Make.sh
4
Make.sh
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# Non-Haskell RGL build script for Unix-based machines
|
# Non-Haskell RGL build script for Unix-based machines
|
||||||
@@ -53,7 +53,7 @@ fi
|
|||||||
# A few more definitions before we get started
|
# A few more definitions before we get started
|
||||||
src="src"
|
src="src"
|
||||||
dist="dist"
|
dist="dist"
|
||||||
gfc="${gf} --batch --quiet"
|
gfc="${gf} --batch --quiet --gf-lib-path=${dist}"
|
||||||
|
|
||||||
# Make directories if not present
|
# Make directories if not present
|
||||||
mkdir -p "${dist}/prelude"
|
mkdir -p "${dist}/prelude"
|
||||||
|
|||||||
@@ -79,11 +79,12 @@ clean
|
|||||||
|
|
||||||
- `CMDS` is one or more of:
|
- `CMDS` is one or more of:
|
||||||
`prelude`,
|
`prelude`,
|
||||||
`all` (default),
|
`all`,
|
||||||
`lang`,
|
`lang`,
|
||||||
`api`,
|
`api`,
|
||||||
`compat`,
|
`compat`,
|
||||||
or an explicit module name (e.g. `ExtraEng.gf`. You don't need to specify to language subdirectory, but there is a restriction that the module must exist in a **direct** subdirectory of `src`).
|
or an explicit module name (e.g. `ExtraEng.gf`. You don't need to specify to language subdirectory, but there is a restriction that the module must exist in a **direct** subdirectory of `src`).
|
||||||
|
If ommitted, the default command is `prelude all`.
|
||||||
- `MODE` is one of:
|
- `MODE` is one of:
|
||||||
`present`,
|
`present`,
|
||||||
`alltenses`
|
`alltenses`
|
||||||
|
|||||||
Reference in New Issue
Block a user