Skip to content

Commit 4003f08

Browse files
authored
Adjust license placement for GitHub auto-detection (microsoft#1879)
1 parent dd7a11f commit 4003f08

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crates/tools/sys/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ deprecated = []
8989
}
9090
}
9191

92-
std::fs::copy("docs/license-mit", "crates/libs/sys/license-mit").unwrap();
93-
std::fs::copy("docs/license-apache", "crates/libs/sys/license-apache").unwrap();
92+
std::fs::copy("license-mit", "crates/libs/sys/license-mit").unwrap();
93+
std::fs::copy("license-apache-2.0", "crates/libs/sys/license-apache-2.0").unwrap();
9494
}
9595

9696
fn gen_tree(reader: &metadata::reader::Reader, output: &std::path::Path, tree: &metadata::reader::Tree) {

crates/tools/windows/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ interface = ["windows-interface"]
9696
}
9797
}
9898

99-
std::fs::copy("docs/license-mit", "crates/libs/windows/license-mit").unwrap();
100-
std::fs::copy("docs/license-apache", "crates/libs/windows/license-apache").unwrap();
99+
std::fs::copy("license-mit", "crates/libs/windows/license-mit").unwrap();
100+
std::fs::copy("license-apache-2.0", "crates/libs/windows/license-apache-2.0").unwrap();
101101
}
102102

103103
fn gen_tree(reader: &metadata::reader::Reader, output: &std::path::Path, tree: &metadata::reader::Tree) {
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)