summaryrefslogtreecommitdiff
path: root/macos
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:48:17 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:48:17 +0200
commit1fa15c225b515e1fa1c6566f90f1be363a4d770f (patch)
tree9d0037db4ed5b68e65ba5e55f85e1533e2287d55 /macos
parentd0447151cf48d8da5fe251e4d3eb6a4fd0f05490 (diff)
Revert "Use file-embed instead of hsb2hs to embed data files."
This reverts commit 10d91c147968d2e4d63b99b5b0342624827f416f.
Diffstat (limited to 'macos')
-rwxr-xr-xmacos/make_macos_package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/macos/make_macos_package.sh b/macos/make_macos_package.sh
index c5d073cdc..911219f14 100755
--- a/macos/make_macos_package.sh
+++ b/macos/make_macos_package.sh
@@ -14,6 +14,8 @@ PACKAGEMAKER=/Applications/PackageMaker.app/Contents/MacOS/PackageMaker
DEVELOPER_ID_APPLICATION=${DEVELOPER_ID_APPLICATION:-Developer ID Application: John Macfarlane}
DEVELOPER_ID_INSTALLER=${DEVELOPER_ID_INSTALLER:-Developer ID Installer: John Macfarlane}
+# We need this for hsb2hs:
+PATH=$LOCALBIN:$PATH
export MACMACOS_DEPLOYMENT_TARGET=10.7
# echo Removing old files...
@@ -21,6 +23,7 @@ rm -rf $DIST
mkdir -p $DIST
mkdir -p $RESOURCES
stack setup
+which hsb2hs || stack install hsb2hs
which cpphs || stack install cpphs
echo Building pandoc...