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

Make tectonic -Zhelp work #929

Merged
merged 6 commits into from
Sep 10, 2022
Merged

Conversation

pkgw
Copy link
Collaborator

@pkgw pkgw commented Sep 10, 2022

Cf. #923. tectonic -Zhelp - is enough, and this is a hack, but it should give a nice little quality-of-life improvement.

Also, fix a long-standing thing that's bothered me and stop my PDF viewer from popping open every time I run the test suite.

We'll lose some coverage but this opens my PDF viewer every time I run
"cargo test" and that's pretty annoying.
This is definitely a hack, most notably because `tectonic -Z help` still
won't work. So be it.

Closes tectonic-typesetting#923.
@pkgw
Copy link
Collaborator Author

pkgw commented Sep 10, 2022

Windows builds were having some Cranko dirtiness problem so I've gone ahead and updated the CI to use my now-standard three-stage workflow. This will also be useful to have in place if/when we start depositing to Zenodo and registering DOIs, since that workflow requires a single release-commit creation stage.

@codecov
Copy link

codecov bot commented Sep 10, 2022

Codecov Report

Merging #929 (31eb4a0) into master (fe1c27f) will decrease coverage by 0.00%.
The diff coverage is 57.69%.

@@            Coverage Diff             @@
##           master     #929      +/-   ##
==========================================
- Coverage   45.75%   45.75%   -0.01%     
==========================================
  Files         147      147              
  Lines       61396    61403       +7     
==========================================
+ Hits        28091    28093       +2     
- Misses      33305    33310       +5     
Impacted Files Coverage Δ
src/bin/tectonic/compile.rs 70.17% <ø> (ø)
src/unstable_opts.rs 57.89% <0.00%> (-2.11%) ⬇️
src/bin/tectonic/main.rs 77.55% <66.66%> (-1.18%) ⬇️
src/bin/tectonic/v2cli.rs 48.43% <68.42%> (-0.46%) ⬇️
src/errors.rs 56.38% <0.00%> (+1.06%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Here we update to what's now my standard for Cranko-powered builds: a
three-stage process, with Prep, Build&Test, and Deploy. The proximate
motivation is that it looks like maybe the Windows builds are erroring
out because Cranko is detecting Git submodules as dirty files, but it's
a better system anyway. In particular, if/when we start registering on
Zenodo and getting DOIs, we need a single prep stage so that all of the
builds can see and use the same DOI.
@pkgw pkgw merged commit 3428aa5 into tectonic-typesetting:master Sep 10, 2022
@pkgw pkgw deleted the zhelp-no-arg branch September 10, 2022 23:51
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.

1 participant