aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/make_artifacts.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index 41700d409..1da9efbd3 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -23,12 +23,17 @@ ghc --version
cabal update
cabal clean
-cabal test $CABALOPTS --ghc-options="$GHCOPTS" all
cabal install $CABALOPTS --ghc-options="$GHCOPTS" --install-method=copy --installdir="$ARTIFACTS" pandoc-cli
# Confirm that we have static builds
file "$ARTIFACTS/pandoc" | grep "statically linked"
+# Confirm that it has +lua and +server support
+"./$ARTIFACTS/pandoc --version" | grep -q '+server +lua'
+
+# Confirm that it has data files baked in:
+strings "./$ARTIFACTS/pandoc" | grep -q '\$title\$'
+
make_deb() {
VERSION=$("$ARTIFACTS"/pandoc --version | awk '{print $2; exit;}')
REVISION=${REVISION:-1}