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

Add --dev switch #387

Merged
merged 3 commits into from
Oct 16, 2024
Merged

Add --dev switch #387

merged 3 commits into from
Oct 16, 2024

Conversation

josephwright
Copy link
Member

No description provided.

@muzimuzhi
Copy link
Contributor

Need to also add latex-dev to where all supported checkformat values are listed:

l3build/l3build.dtx

Lines 434 to 436 in 3457c13

% The format used for tests can be altered by setting \var{checkformat}: the default setting \texttt{latex} means that tests are run using \emph{e.g.}~\texttt{pdflatex}, whereas setting to \texttt{tex} will run tests using \emph{e.g.}~\texttt{pdftex}.
% (Currently, this should be one of \texttt{latex}, \texttt{tex}, or
% \texttt{context}.)

@josephwright
Copy link
Member Author

@muzimuzhi Done

@FrankMittelbach
Copy link
Member

I think this functionality warrants a ltnews entry (in a different repo I know) explaining how a maintainer of a package using l3build for it can easily test his or her package with the upcoming LaTeX release this way.

l3build.lua Outdated
Comment on lines 135 to 136
if options["dev"] and checkformat == "latex" then
checkformat = "latex-dev"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if it helps or if it makes things worse, but shouldn't there perhaps a terminal output stating --dev not applied if checkformat is not latex?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added one - it only shows at the top level due to the way configs work, but hopefully that's enough?

@josephwright josephwright merged commit 5c4f05c into main Oct 16, 2024
2 checks passed
@josephwright josephwright deleted the dev-switch branch October 16, 2024 09:33
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.

4 participants