dev: update subproject paths to have libs/ prefix
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f6f1187526
commit
b6a512ebac
3 changed files with 11 additions and 11 deletions
|
|
@ -20,20 +20,20 @@ const projects = [_][]const u8{
|
|||
|
||||
pub fn main() !void {
|
||||
inline for (projects) |project| {
|
||||
copyFile("dev/template/LICENSE", project ++ "/LICENSE");
|
||||
copyFile("dev/template/LICENSE-MIT", project ++ "/LICENSE-MIT");
|
||||
copyFile("dev/template/LICENSE-APACHE", project ++ "/LICENSE-APACHE");
|
||||
copyFile("dev/template/.gitattributes", project ++ "/.gitattributes");
|
||||
copyFile("dev/template/.gitignore", project ++ "/.gitignore");
|
||||
copyFile("dev/template/LICENSE", "libs/" ++ project ++ "/LICENSE");
|
||||
copyFile("dev/template/LICENSE-MIT", "libs/" ++ project ++ "/LICENSE-MIT");
|
||||
copyFile("dev/template/LICENSE-APACHE", "libs/" ++ project ++ "/LICENSE-APACHE");
|
||||
copyFile("dev/template/.gitattributes", "libs/" ++ project ++ "/.gitattributes");
|
||||
copyFile("dev/template/.gitignore", "libs/" ++ project ++ "/.gitignore");
|
||||
|
||||
if (!std.mem.eql(u8, project, ".")) {
|
||||
copyFile(
|
||||
"dev/template/.github/pull_request_template.md",
|
||||
project ++ "/.github/pull_request_template.md",
|
||||
"libs/" ++ project ++ "/.github/pull_request_template.md",
|
||||
);
|
||||
replaceInFile(project ++ "/.github/pull_request_template.md", "foobar", project);
|
||||
}
|
||||
copyFile("dev/template/.github/FUNDING.yml", project ++ "/.github/FUNDING.yml");
|
||||
copyFile("dev/template/.github/FUNDING.yml", "libs/" ++ project ++ "/.github/FUNDING.yml");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue