-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
574df34
commit d39f947
Showing
5 changed files
with
49 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ubilerntui" | ||
version = "0.1.7" | ||
version = "0.1.8" | ||
edition = "2021" | ||
authors = ["Adam McKellar"] | ||
description = "This is a terminal UI for learning for the UKW-Sprechfunkzeugnis für den Binnenschiffahrtsfunk." | ||
|
@@ -29,13 +29,13 @@ once_cell = "1.19.0" | |
colored = "2.1.0" | ||
textwrap = {version = "0.16.1", features = ["hyphenation"]} | ||
hyphenation = "0.8.4" | ||
license-fetcher = "0.4.0" | ||
license-fetcher = "0.5.0" | ||
|
||
[dev-dependencies] | ||
pretty_assertions = "1.4.1" | ||
|
||
[build-dependencies] | ||
license-fetcher = { version = "0.4.0", features = ["build"] } | ||
license-fetcher = { version = "0.5.0", features = ["build"] } | ||
|
||
[package.metadata.deb] | ||
maintainer = "Adam McKellar <[email protected]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,33 @@ | ||
use license_fetcher::build_script::generate_package_list_with_licenses; | ||
use std::concat; | ||
use std::fs::read_to_string; | ||
|
||
use license_fetcher::{build_script::generate_package_list_with_licenses, Package}; | ||
|
||
fn main() { | ||
generate_package_list_with_licenses(); | ||
let mut packages = generate_package_list_with_licenses(); | ||
|
||
packages.push(Package { | ||
name: "hyph-de-1996".to_owned(), | ||
version: "CTAN-2021.03.21".to_owned(), | ||
authors: vec!["Deutschsprachige Trennmustermannschaft <[email protected]>".to_owned()], | ||
description: Some( | ||
"TeX-Trennmuster für die reformierte (2006) deutsche Rechtschreibung".to_owned(), | ||
), | ||
homepage: None, | ||
repository: Some("https://github.com/hyphenation/tex-hyphen".to_owned()), | ||
license_identifier: Some("MIT".to_owned()), | ||
license_text: Some( | ||
read_to_string(concat!( | ||
env!("CARGO_MANIFEST_DIR"), | ||
"/dictionary/LICENSE-DICTIONARY.txt" | ||
)) | ||
.expect("Failed reading license of hyph-de-1996"), | ||
), | ||
}); | ||
|
||
packages.write(); | ||
|
||
println!("cargo::rerun-if-changed=build.rs"); | ||
println!("cargo::rerun-if-changed=Cargo.lock"); | ||
println!("cargo::rerun-if-changed=Cargo.toml"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters