Add documentation, minor fixes
This commit is contained in:
@@ -53,5 +53,6 @@ public class CopyrightNotice {
|
||||
writer.write(TEXT_OPENING);
|
||||
Formatter formatter = new Formatter(writer);
|
||||
formatter.format(TEXT, year, yearSecondAuthor);
|
||||
formatter.close();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,10 +64,12 @@ echo "\
|
||||
$copyright_header
|
||||
|
||||
mod metadata;
|
||||
|
||||
// use only in test case
|
||||
#[cfg(test)]
|
||||
mod test_metadata;
|
||||
|
||||
pub use metadata::METADATA;
|
||||
// use only in test case
|
||||
#[cfg(test)]
|
||||
pub use test_metadata::TEST_METADATA;
|
||||
" > "$generated_dir/mod.rs"
|
||||
Reference in New Issue
Block a user