File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/tools/collect-license-metadata Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 22name = " collect-license-metadata"
33version = " 0.1.0"
44edition = " 2021"
5+ description = " Runs the reuse tool and caches the output, so rust toolchain devs don't need to have reuse installed"
6+ license = " MIT OR Apache-2.0"
57
68[dependencies ]
79anyhow = " 1.0.65"
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ use std::path::PathBuf;
1616const CONDENSED_DIRECTORIES : & [ ( & str , & str ) ] =
1717 & [ ( "./src/llvm-project/" , "./src/llvm-project/README.md" ) ] ;
1818
19+ /// The entry point to the binary.
20+ ///
21+ /// You should probably let `bootstrap` execute this program instead of running it directly.
22+ ///
23+ /// Run `x.py run collect-license-metadata`
1924fn main ( ) -> Result < ( ) , Error > {
2025 let reuse_exe: PathBuf = std:: env:: var_os ( "REUSE_EXE" ) . expect ( "Missing REUSE_EXE" ) . into ( ) ;
2126 let dest: PathBuf = std:: env:: var_os ( "DEST" ) . expect ( "Missing DEST" ) . into ( ) ;
You can’t perform that action at this time.
0 commit comments