aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-08-15 18:59:13 -0700
committerJohn MacFarlane <[email protected]>2022-08-15 18:59:13 -0700
commitce3cd28a6a91a96b00d35584202e8202e468d2ab (patch)
treebf1c70d497ca28a370e931f1921f9b28336f43d4 /linux
parentb157abedb7a2047c5915ab69a66b4410ecfef356 (diff)
More make_artifacts fixes.
Diffstat (limited to 'linux')
-rw-r--r--linux/make_artifacts.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index 7a314e485..bee2ba184 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -25,14 +25,10 @@ trap clean_up EXIT
cabal --version
ghc --version
-cabal v2-update
-cabal v2-clean
-cabal v2-configure --enable-tests -fserver -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' pandoc
-cabal v2-build -j4
-cabal v2-test -j4
-cabal v2-install --bindir=$ARTIFACTS
-for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f $ARTIFACTS/; done
-for f in $(find dist-newstyle -name 'pandoc-server' -type f -perm /400); do cp $f /$ARTIFACTS/; done
+cabal update
+cabal clean
+cabal install -j4 -fserver -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' --install-method=copy --bindir=$ARTIFACTS
+ls $ARTIFACTS
# make deb for EXE
make_deb() {