Adds bypass & glossary warning

This commit is contained in:
Dandaedre 2026-07-19 01:10:19 +02:00
parent 55f5fe10d2
commit 6da458a236
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
3 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,7 @@ resolver = "3"
# edition = "2024"
# license = "MIT OR Apache-2.0"
[workspace.package]
version = "0.3.6"
version = "0.3.7"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -237,6 +237,10 @@ pub(super) enum LineType {
#[token("Remove \\makeglossaries if you don't want any glossaries.")]
NoGlossary,
#[regex(r"No file [^$]\.gls\.", |_| "".to_string())]
/// The glossary file wasn't found
NoGlossaryFile(String),
#[regex(
r" ?\)?<?/usr/share/texlive/texmf-dist/fonts/type1/public/fontawesome5[^\n]+",
allow_greedy = true
@ -344,6 +348,7 @@ impl LineType {
LineType::PackageWarningPrs(_) => VerboseLevel::Critical,
LineType::NoGlossary => VerboseLevel::Warning,
LineType::Fontawesome => VerboseLevel::Info,
LineType::NoGlossaryFile(_) => VerboseLevel::Warning,
}
}
}

View File

@ -328,5 +328,6 @@ SRG: ravpur
HRG: ravpur
BAD: ravora
BIS: ravredD
BYP: ravredD
'''
default_color=''