Albert Krewinkel
ec1a06f5ef
lua-filters.md: autogenerate parts of the Lua API docs
2023-03-19 12:33:04 +01:00
John MacFarlane
c4e7723101
Linux builds: Update ghc-musl URL.
2023-03-14 09:56:35 -07:00
John MacFarlane
80c045fb02
Makefile: use -f-export-dynamic in CABALOPTS
...
This is helpful when building in nix shell.
2023-01-23 12:48:49 -08:00
John MacFarlane
8522676a11
Makefile: master -> main.
2023-01-12 12:05:21 -08:00
Olivier Benz
c4995fea41
Use ghc4pandoc 9.4.4 docker image
2023-01-04 07:58:41 -08:00
Olivier Benz
0eda40c93a
Use ghc4pandoc 9.4.3 docker image ( #8420 )
2022-11-04 08:52:33 -07:00
John MacFarlane
487d8003a5
Improve 'make lint'.
2022-10-30 12:39:37 -07:00
John MacFarlane
c7af10fe89
hlint suggestions.
2022-10-30 12:37:19 -07:00
John MacFarlane
55b8d0abee
make lint: remove apply-refact
2022-10-30 11:01:58 -07:00
John MacFarlane
9d8d1a0b9e
Use ghc4pandoc 9.4.2 docker image.
2022-10-28 09:19:13 -07:00
John MacFarlane
af12b56d06
Makeflie: add hie.yaml target.
2022-10-20 20:05:50 -07:00
John MacFarlane
db189498a8
Makefile: improve linecounts target.
2022-10-19 15:33:21 -07:00
John MacFarlane
656c329c3b
Makefile: exclude tests from SOURCEFILES
2022-10-19 13:34:46 -07:00
John MacFarlane
5faa6d22db
Makefile: and linecounts target
2022-10-19 13:33:32 -07:00
John MacFarlane
fc8b0c4540
Add repl target to Makefile
2022-10-19 13:07:13 -07:00
John MacFarlane
e10d6d8ff6
Makefile: make sure we run tests for pandoc-lua-engine too
2022-10-19 10:48:25 -07:00
John MacFarlane
4de3a9c2ca
Add tools/latex-package-dependencies.lua.
2022-10-17 21:59:44 -07:00
John MacFarlane
276335bcea
Makefile: add ghcid target
2022-10-16 19:57:16 -07:00
John MacFarlane
fa450607a8
Makefile: fix .PHONY for test and build.
2022-10-16 14:59:22 -07:00
John MacFarlane
c8ef079c0f
Makefile: hide command output for make binpath.
...
This allows:
alias pandoc=`make binpath`
for convenient local testing of a build.
2022-10-16 11:30:26 -07:00
John MacFarlane
d348dfa39e
'make help': add environment variables and default values.
2022-10-16 11:29:07 -07:00
John MacFarlane
d849fe4525
Makefile changes.
...
Rename quick-cabal -> all, quick-test -> test.
Add binpath target.
2022-10-16 11:20:53 -07:00
John MacFarlane
3151800f34
Add authors target to Makefile.
2022-10-04 21:48:17 -07:00
John MacFarlane
2c37fc5550
Improve 'make prerelease' (formerly check).
2022-10-04 21:48:17 -07:00
John MacFarlane
96cbd762a1
Makefile: Improve checkdocs.
2022-10-04 21:48:17 -07:00
John MacFarlane
1f982ddf47
Extend check-cabal to check all packages
2022-10-04 21:48:17 -07:00
John MacFarlane
11ec70cfeb
Better 'make moduledeps' target.
...
ROOT can now be multiple modules, and the complete transitive
dependencies of all of them will be printed.
make moduledeps ROOT="Text.Pandoc.Class Text.Pandoc.Parsing"
2022-10-04 10:17:33 -07:00
John MacFarlane
e33d61dff9
Makefile: add modules.csv target.
2022-10-04 10:17:33 -07:00
John MacFarlane
92e116af19
Make modules.dot target more robust.
...
Only include source-controlled files under src.
2022-10-01 17:52:03 -07:00
John MacFarlane
89e7e9b636
Makefile: add moduledeps target.
...
make moduledeps ROOTNODE=T.P.Parsing
2022-10-01 12:46:30 -07:00
John MacFarlane
20f82b0a8b
Makefile target to get module dependeny subgraphs.
...
E.g. what depends on Text.Pandoc.Parsing?
make modules.pdf ROOTNODE=T.P.Parsing
This is helpful for figuring out what we can split out as separate
packages.
2022-10-01 12:34:27 -07:00
John MacFarlane
c51eeea4c7
Add Makefile target to create a directed graph of module dependencies.
2022-10-01 11:52:54 -07: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
45820e79f4
Makefile: remove 'stack clean' from clean target
2022-09-29 09:40:57 -07:00
John MacFarlane
b5bf559766
Makefile: add weeder target.
2022-09-27 18:01:34 -07:00
John MacFarlane
4932ee324d
Makefile: add whitespace check to 'check'.
2022-09-27 13:42:23 -07:00
John MacFarlane
301f905839
Makefile: add transitive-deps target.
2022-09-27 12:52:27 -07:00
John MacFarlane
78c0016526
Makefile: Add coverage target
2022-09-27 12:39:43 -07:00
John MacFarlane
84c053222c
Update Makefile.
2022-09-27 10:23:50 -07:00
John MacFarlane
06a2bd3e98
Fix 'quick-cabal' target in Makefile to build pandoc-cli.
2022-09-26 08:36:17 -07:00
Albert Krewinkel
22fa51ded1
Make pandoc behave like a Lua interpreter when called as pandoc-lua. ( #8311 )
2022-09-22 14:39:25 -07:00
John MacFarlane
60f9c8447e
Remove trypandoc Makefile.
2022-08-18 13:16:54 -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
e7fa9c4c23
make debpkg: get rid of docker.log.
...
Let things come out on the CI output.
2022-08-15 22:47:14 -07:00
John MacFarlane
88a31332cd
Makefile: Add man target.
2022-08-15 09:58:58 -07:00
John MacFarlane
3f2b44b694
Beginning of man page for pandoc-server.
2022-08-15 09:51:17 -07:00
John MacFarlane
0f80284c3d
Convert tool/extract-changes.hs to a Lua filter.
2022-08-03 23:59:39 -07:00
John MacFarlane
54b20e5733
Use ghc 9.2.3 for linux builds.
2022-06-10 11:13:22 -07:00
John MacFarlane
a11cbc7b57
Use timestamp when storing latest bench.
2022-03-31 10:26:06 -07:00
John MacFarlane
97a9b2e70f
Makefile: allow GHCOPTS in quick-cabal target
2022-03-29 22:42:13 -07:00