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 2
2
name = " collect-license-metadata"
3
3
version = " 0.1.0"
4
4
edition = " 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"
5
7
6
8
[dependencies ]
7
9
anyhow = " 1.0.65"
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ use std::path::PathBuf;
16
16
const CONDENSED_DIRECTORIES : & [ ( & str , & str ) ] =
17
17
& [ ( "./src/llvm-project/" , "./src/llvm-project/README.md" ) ] ;
18
18
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`
19
24
fn main ( ) -> Result < ( ) , Error > {
20
25
let reuse_exe: PathBuf = std:: env:: var_os ( "REUSE_EXE" ) . expect ( "Missing REUSE_EXE" ) . into ( ) ;
21
26
let dest: PathBuf = std:: env:: var_os ( "DEST" ) . expect ( "Missing DEST" ) . into ( ) ;
You can’t perform that action at this time.
0 commit comments