John MacFarlane
09f81c16c5
Set --user in docker run to avoid permission issues.
...
We were unable previously to write to the artifacts directory.
2021-03-06 17:03:36 -08:00
John MacFarlane
cf175c9752
Avoid subprocess for docker run.
2021-03-06 16:59:35 -08:00
John MacFarlane
271dd9e344
make debpkg: send docker output to docker.log in the host.
...
Otherwise once the container is gone we can't figure out
what happened.
2021-03-06 16:34:45 -08:00
John MacFarlane
f31ddecdac
Makefile: Remove ARCH
2021-03-06 13:44:36 -08:00
John MacFarlane
faa77316ca
Don't --rm docker.
2021-03-06 12:31:04 -08:00
John MacFarlane
26524246d0
Fix docker image.
2021-03-06 09:50:31 -08:00
John MacFarlane
ce7706d75b
More Makefile tweaks around docker linux build.
2021-03-05 23:59:50 -08:00
John MacFarlane
70f9709455
Makefile: choose linux docker image depending on arch.
2021-03-05 23:32:03 -08:00
John MacFarlane
9837444330
Makefile: exit smoothly if no prior benchmark files found.
2021-03-05 21:11:35 -08:00
John MacFarlane
5c4eb7246b
Makefile: debpkg: use new multi-arch GHC 8.10.4 docker...
...
...created by Olivier Benz. This should allow us to
build on arm architecture.
2021-03-05 19:11:12 -08:00
John MacFarlane
b745bf3938
make bench: compare against a baseline, use datestamps for bench results.
2021-02-19 10:22:54 -08:00
John MacFarlane
b2b32d9bb2
'make bench': Create csv files for comparison.
2021-02-18 23:22:18 -08:00
John MacFarlane
1954e894b4
Clean up benchmark code.
...
Now we can do patterns using `-p blah'.
2021-02-13 00:14:49 -08:00
John MacFarlane
22faea15c2
Makefile: give allocation data in benchmarks.
2021-01-31 18:18:53 -08:00
John MacFarlane
fe06437ba4
Use tasty-bench instead of criterion for benchmarks.
...
It is much lighter-weight.
2021-01-30 18:01:14 -08:00
John MacFarlane
76b36fcb17
Use simple default.nix.
...
Remove nix makefile targets.
2021-01-13 09:52:09 -08:00
John MacFarlane
2787083b76
Use project.nix instead of default.nix for generated file.
2021-01-12 22:32:26 -08:00
John MacFarlane
bd3b7c2e2c
Delete default.nix.
...
It is generated and shouldn't be in repository.
2021-01-12 22:29:29 -08:00
John MacFarlane
91fbea29dd
Add files for using nix-shell.
...
'make nix-shell' enters a nix shell with pandoc dependencies
installed.
2021-01-12 21:18:17 -08:00
John MacFarlane
757dbc637b
Improve check target to test data/ too.
2020-12-18 12:05:24 -08:00
John MacFarlane
559b12ee3a
Makefile: Fix checkdocs target.
2020-12-18 09:46:20 -08:00
John MacFarlane
c8c8c8b24c
Add check and check-cabal target ...
...
to check to make sure everything needed in tests will get
into the source sdist.
2020-12-18 09:23:39 -08:00
John MacFarlane
d477df03b4
Makefile: remove macospkg target.
...
Now we just download the artifacts from CircleCI, and make.
2020-12-17 23:39:22 -08:00
John MacFarlane
6ef38e9ab3
Fix pandoc-templates target to include all partials.
2020-09-15 10:35:32 -07:00
John MacFarlane
e5adec5a01
Makefile: Remove obsolete windows package build targets.
2020-08-27 18:10:21 -07:00
John MacFarlane
5e1de9cced
Makefile: Fix macospkg target to fetch target from S3 artifacts.
2020-08-27 18:10:15 -07:00
John MacFarlane
e65c6b0b5d
Use the smart extension when generating pandoc's man page.
...
See #6613 .
2020-08-12 23:11:28 -07:00
John MacFarlane
c990027832
Linux rc build: use ghc-musl container.
...
This simplifies our build process a bit (over using
a customized alpine container).
Use new `--enable-executable-static` flag in build.
make_artifacts.sh: Fix deprecated find -perm syntax.
2020-08-11 21:33:21 -07:00
John MacFarlane
5a216f7bd7
update date, man page, README.
2020-07-23 17:56:12 -07:00
John MacFarlane
2cd3694818
Fix 'make pandoc-templates'.
2020-06-29 21:57:53 -07:00
John MacFarlane
004907f4f2
make changes_github: use details tag to make changelog collapsible.
2020-03-15 11:23:55 -07:00
Albert Krewinkel
9ffa8100d7
tools: delete Lua documentation helper cruft
...
The tools were useful to generate documentation from the Lua sources.
However, most Lua functions are defined in Haskell, and the even
documentation of functions written in Lua has been updated manually for
quite a while now. The unused helper scripts, which have bit-rot to the
point that they now produce broken links, are therefore removed.
2020-03-13 14:22:23 +01:00
John MacFarlane
4a5e7b2ada
make pandoc-templates: copy README and styles.*.
2020-02-14 09:07:10 -08:00
John MacFarlane
4c3db9273f
Apply linter suggestions. Add fix_spacing to lint target in Makefile.
2020-02-07 09:08:22 -08:00
John MacFarlane
7ba55d7405
Improve pandoc man page generation.
...
Use before and after includes rather than special template.
2019-12-22 21:30:01 -08:00
John MacFarlane
0bfe478a69
Use external emojis package.
...
Moved the emoji-specified code into an external package
we can depend on.
2019-12-08 17:27:18 -08:00
John MacFarlane
2f87b04450
Makefile - fix emoji.json path
2019-12-05 12:33:17 -08:00
John MacFarlane
0d0ec98dd5
Generate Emoji module with TH.
...
- Add Text.Pandoc.Emoji.TH.
- Replace long literal list in Text.Pandoc.Emoji with one-liner
generating it from data/emoji.json using TH.
- Add Makefile target to download data/emoji.json.
- Remove tools/emoji.hs.
2019-11-27 21:31:53 -08:00
John MacFarlane
97387f8fac
Increase GC allocation space for compilation in cabal.project.
2019-11-27 18:49:44 -08:00
John MacFarlane
dc83f0173f
Fix changes_github Makefile target.
2019-11-22 09:23:14 -08:00
John MacFarlane
f0577fe360
Makefile: ghci target
2019-09-06 21:09:44 -07:00
John MacFarlane
1c35167c3a
Small cleanups in Makefile.
2019-09-05 17:34:47 -07:00
John MacFarlane
4559bc257b
Makefile - remove references to obsolete flag.
...
See #5694 .
2019-09-05 15:54:46 -07:00
John MacFarlane
e2c4d1ccfc
Makefile: add ghcid target.
2019-08-25 15:38:17 -07:00
John MacFarlane
c17ace8c09
Makefile: remove --resolver= from targets.
...
This causes unnecessary recompilation.
2019-05-21 21:56:50 -07:00
John MacFarlane
b217137d98
Use new code signing cert for Windows.
2019-05-17 23:05:49 -07:00
John MacFarlane
53fd8e02af
Remove install step from make quick-cabal.
2019-03-27 10:06:55 -07:00
John MacFarlane
9e63924f28
Add ghc-options to cabal.project.
2019-03-27 09:36:52 -07:00
John MacFarlane
3394d3835d
Makefile - remove --resolver from quick target.
2019-03-09 14:30:07 -08:00
John MacFarlane
572bd4103c
Use lts-13 in makefile
2019-01-30 14:38:35 -08:00