Commit Graph

112 Commits

Author SHA1 Message Date
Olivier Benz 7b48fd5801 linux/make_artifacts.sh: add riscv64 support 2024-09-19 08:20:27 -07:00
John MacFarlane a29049bd76 Fix man page locations in linux and macos package build scripts.
man pages have moved to pandoc-cli/man.
2023-12-11 23:08:40 -08:00
John MacFarlane 104b3bacda Add cabal update and clean to make_artifacts.sh. 2023-08-31 12:45:14 -07:00
John MacFarlane e6d4af1a67 Cirrus: more build improvements.
Name artifact directories with the architecture type.
2023-03-12 17:09:17 -07:00
John MacFarlane 63b67af129 linux/make_artifacts.sh: fix syntax for pushd, popd. 2023-03-12 15:31:42 -07:00
John MacFarlane 3175be75ad Fix BINPATH issues in linux and macos release build scripts. 2023-03-12 13:59:46 -07:00
John MacFarlane a30927bb95 linux/make_artifacts.sh: fix typo. 2023-03-12 13:36:48 -07:00
John MacFarlane fa62239a5d More cirrus fixes. 2023-03-12 13:26:54 -07:00
John MacFarlane 5159109d9a More cirrus tweaks.
Use cabal build rather than install.
2023-03-12 12:51:46 -07:00
John MacFarlane 5033687724 More cirrus tweaks.
Ensure that the binary is built again even if it exists in the cache.
2023-03-12 12:25:22 -07:00
John MacFarlane da7f54e88b linux/make_artifacts.sh: add diagnostics. 2023-03-12 12:17:41 -07:00
John MacFarlane 7a8be77869 linux release builds: split build and package steps. 2023-03-12 10:15:53 -07:00
John MacFarlane b79775991f linux/make_artifacts.sh: more changes for Cirrus. 2023-03-12 09:14:02 -07:00
John MacFarlane 9ea4b998d0 linux/make_artifacts.sh: create ARTIFACTS directory. 2023-03-11 23:33:17 -08:00
John MacFarlane 9a79cf4413 Modify linux/make_artifacts.sh so it will work on cirrus. 2023-03-11 22:35:20 -08:00
John MacFarlane ad3d7c1914 Add exit trapping code back to make_artifacts.sh.
Otherwise it never exits!
2023-01-25 10:27:39 -08:00
John MacFarlane c30ffca70f make_artifacts.sh: fix quoting. 2023-01-20 15:10:42 -08:00
John MacFarlane 0a88d1f44b Fix another bug in make_artifacts.sh. 2023-01-20 13:06:38 -08:00
John MacFarlane 02b72150a7 Fix two small problems in make_artifacts.sh 2023-01-20 12:17:08 -08:00
John MacFarlane 2a8b6783fd make_artifacts.sh: Back to cabal build/test approach. 2023-01-20 11:38:59 -08:00
John MacFarlane 4d1d956dc8 make_artifacts.sh: add diagnostic. 2023-01-20 10:53:25 -08:00
John MacFarlane 48b1370f94 make_artifacts.sh: remove cabal test, add sanity checks.
Check that the binary has lua and server support, and that
it contains baked-in templates.
2023-01-20 10:41:58 -08:00
John MacFarlane 8180635220 make_artifacts.sh: roll back quoting of CABALOPTS. 2023-01-20 09:36:21 -08:00
John MacFarlane adf9e9088d Apply shellcheck improvements to make_artifacts.sh. 2023-01-20 09:14:41 -08:00
John MacFarlane e680aa18e2 Fix man page copying in linux/make_artifacts.sh.
Previously we were copying the pandoc-server.1 pandoc page to pandoc-lua.1.

This should resolve #8566, but it should be tested after a
new release candidate is generated.
2023-01-20 08:52:36 -08:00
John MacFarlane dee186be7d make_artifacts.sh: add quotes. 2022-11-07 13:20:23 -08:00
John MacFarlane bf941efb28 Fix make_artifacts.sh. 2022-11-07 11:36:29 -08:00
John MacFarlane be7d4bd092 Fix CABALOPTS in make_artifacts.sh. 2022-11-07 10:47:57 -08:00
John MacFarlane ca46dc8a66 make_artifacts.sh: add a 'cabal test' as a sanity check.
It's possible that changes in upstream packages could make a
test fail, and we wouldn't want to release.
2022-11-07 08:42:08 -08:00
John MacFarlane 57fd3c4f81 cabal.project: move back to using flags:.
If we add the flag to constraints, it can't be overridden on
the command line.
2022-09-29 10:19:30 -07:00
John MacFarlane 8ad64a8318 Add pandoc-lua and man pages to releases. 2022-09-22 14:49:02 -07:00
John MacFarlane 8ddc2fc79a Integrate server into main pandoc.
- Remove server flag.
- Remove pandoc-server executable.
- Add Text.Pandoc.Server as exposed module. [API change]
- Re-use Opt (and our existing FromJSON instance) for Params.
- Document.
2022-08-17 12:28:14 -07:00
John MacFarlane cd90bffa8c More make_artifacts fixes. 2022-08-16 10:55:36 -07:00
John MacFarlane 9bf6c4918e make_artifacts.sh: use --installdir not --bindir. 2022-08-15 23:18:10 -07:00
John MacFarlane ce3cd28a6a More make_artifacts fixes. 2022-08-15 18:59:13 -07:00
John MacFarlane b157abedb7 Fix make_artifacts.sh. 2022-08-15 17:38:28 -07:00
John MacFarlane 2b4b565040 Split linux/control.in into two parts...
for pandoc and pandoc-server.
2022-08-15 16:10:21 -07:00
John MacFarlane 386705f818 linux/make_artifacts.sh: fix paths. 2022-08-15 14:37:06 -07:00
John MacFarlane f094381378 make_artifacts.sh: create doc directory. 2022-08-15 13:07:32 -07:00
John MacFarlane 7c34908493 Improve linux/make_artifacts.
Structure code more cleanly.
Make separate deb, tarball for pandoc-server.
2022-08-15 10:09:32 -07:00
John MacFarlane 3a5168af90 Fix pandoc-server on linux make_artifacts.sh. 2022-08-07 23:02:35 -07:00
John MacFarlane 5635ef9c57 Replace old trypandoc code with new pandoc-cgi.
This is based on servant. It is less hacky and more extensible.
2022-08-06 14:42:38 -07:00
Tony bff49852a5 add armhf support (#7944) 2022-02-28 09:03:25 -08:00
John MacFarlane 87eb8dfda4 Revert the -j related changes in make_artifacts.sh.
This led to very slow build times.
2021-03-18 14:59:50 -07:00
John MacFarlane 89a89a8cf3 make_artifacts.sh: try using -j for cabal rather than -j4 ghc-options. 2021-03-18 09:14:12 -07:00
John MacFarlane 94c917c13f Use -j4 for linux release build. 2021-03-16 13:16:29 -07:00
John MacFarlane 0515c44859 linux/make_artifacts.sh: Use -f when removing artifacts/DONE. 2021-03-08 15:02:26 -08:00
John MacFarlane cac796e1ab ARM build script: more reliable detection of completion.
Previously we downloaded the tar.gz before it was complete.
2021-03-08 14:51:03 -08:00
John MacFarlane 31ca011e4a Use correct architecture in .tar.gz for linux. 2021-03-08 11:58:14 -08:00
John MacFarlane 1eb882fcdb linux build script: set architecture to 'unknown' when no match. 2021-03-06 13:45:16 -08:00