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

Adopt makem.sh for build support (linting, running tests) #432

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bcc32
Copy link
Collaborator

@bcc32 bcc32 commented Jul 6, 2024

This PR switches from CMake and custom make rules to using
makem.sh, as suggested in #423.

It also includes a small tweak to just disable ledger-mode/test-001 (which
requires running Emacs interactively) when makem.sh runs tests, since it does
not provide a custom ERT selector. That change can be removed once #431 is
merged.
#431 was merged, so that change was removed upon rebase.

Fix #423.

@bcc32 bcc32 requested a review from purcell July 6, 2024 20:10
@bcc32 bcc32 marked this pull request as draft July 8, 2024 18:37
@bcc32
Copy link
Collaborator Author

bcc32 commented Jul 8, 2024

Discovered some issues on macos, opening alphapapa/makem.sh#49

Also use makem.sh's support for checkdoc, since the previously-used
checkdoc-batch URL is broken.
bcc32 added 4 commits July 14, 2024 12:03
Currently, we need the --compile-batch option because compiling the files
individually fails on Emacs 25 (I think due to subr-x macros not being loaded at
startup).
We just sprinkle some eval-when-compiles around for older Emacs.  We can remove
them when the CI no longer supports Emacs 25.1.
@bcc32
Copy link
Collaborator Author

bcc32 commented Jul 14, 2024

Updated makem.sh to include the macOS fix.

@bcc32 bcc32 marked this pull request as ready for review July 14, 2024 16:06
@purcell
Copy link
Member

purcell commented Oct 7, 2024

I'd be generally in favour of this, because I'm not sure if any of the more active maintainers have any specific love for cmake, and it would be good to include more linting etc. in the CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI checkdoc step is just a no-op
2 participants