Skip to content

Commit

Permalink
Add --dev switch
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Oct 15, 2024
1 parent 3457c13 commit 3d816c9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.

## [Unreleased]

### Added
- `--dev` switch to run tests using development format

## [2024-10-08]

### Fixed
Expand Down
5 changes: 5 additions & 0 deletions l3build-arguments.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ option_list =
desc = "Runs target in debug mode",
type = "boolean"
},
dev =
{
desc = "Use the development LaTeX format",
type = "boolean"
},
dirty =
{
desc = "Skips cleaning up the test area",
Expand Down
1 change: 1 addition & 0 deletions l3build.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@
% \item |--config| (|-c|) Configuration(s) to use for testing
% \item |--date| (|-d|) Date to use when tagging data
% \item |--debug| Runs the target in debug mode (not supported by all targets)
% \item |--dev| Runs \LaTeX{} checks using the development format
% \item |--dirty| Skips cleaning up of the test area
% \item |--dry-run| Runs the \texttt{install} target but does not copy
% any files: simply lists those that would be installed
Expand Down
4 changes: 4 additions & 0 deletions l3build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ if forcedocepoch then
typesetopts = typesetopts .. " -utc"
end
end
-- Allow for LaTeX "dev" release
if options["dev"] and checkformat == "latex" then
checkformat = "latex-dev"
end

--
-- Deal with multiple configs for tests
Expand Down

0 comments on commit 3d816c9

Please sign in to comment.