aboutsummaryrefslogtreecommitdiff
path: root/macos
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-26 17:22:00 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-26 17:22:00 +0200
commit10d91c147968d2e4d63b99b5b0342624827f416f (patch)
tree3a739ffa0b56d3fa6b5e1524820a79031a996e67 /macos
parent604c824d38f255dd44fec9bb69052002b5a59495 (diff)
downloadpandoc-10d91c147968d2e4d63b99b5b0342624827f416f.tar.gz
Use file-embed instead of hsb2hs to embed data files.
I think template haskell is robust enough now across platforms that this will work. Motivation: file-embed gives us better dependency tracking: if a data file changes, ghc/stack/cabal know to recompile the Data module. This also removes hsb2hs as a build dependency.
Diffstat (limited to 'macos')
-rwxr-xr-xmacos/make_macos_package.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/macos/make_macos_package.sh b/macos/make_macos_package.sh
index 911219f14..c5d073cdc 100755
--- a/macos/make_macos_package.sh
+++ b/macos/make_macos_package.sh
@@ -14,8 +14,6 @@ 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...
@@ -23,7 +21,6 @@ rm -rf $DIST
mkdir -p $DIST
mkdir -p $RESOURCES
stack setup
-which hsb2hs || stack install hsb2hs
which cpphs || stack install cpphs
echo Building pandoc...