Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove pandoc dependency from main game #2084

Merged
merged 2 commits into from
Jul 30, 2024
Merged

Conversation

kostmo
Copy link
Member

@kostmo kostmo commented Jul 28, 2024

Closes #2083

Rendering a matrix of command attributes was originally implemented in #1658. But this generated the data to drive the table at runtime, which pulled in an unfortunate Pandoc dependency.

To work around this, let's just pre-generate the data offline.

Demo

  1. scripts/play.sh
  2. Visit http://localhost:5357/command-matrix.html

@kostmo kostmo force-pushed the refactor/mv-pandoc-dependency branch from 85a0479 to df300ee Compare July 29, 2024 01:21
@kostmo kostmo changed the title [WIP] reshuffle pandoc dependency remove pandoc dependency from main game Jul 29, 2024
@kostmo kostmo requested a review from byorgey July 29, 2024 02:13
@kostmo kostmo marked this pull request as ready for review July 29, 2024 02:13
web/data/commands.json Show resolved Hide resolved
@xsebek
Copy link
Member

xsebek commented Jul 29, 2024

@kostmo Will this work in release as the file is not specifically mentioned in cabal?

If this temporal state persists too long an integration test to keep it up to date could be useful.

I am not against merging it, just wary about potential issues if we forget about it. 😉

@kostmo kostmo added the merge me Trigger the merge process of the Pull request. label Jul 30, 2024
@mergify mergify bot merged commit f3a15c6 into main Jul 30, 2024
12 checks passed
@mergify mergify bot deleted the refactor/mv-pandoc-dependency branch July 30, 2024 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build-game.sh should not require pandoc
3 participants