Add Configuration, DataProtection. Add init target.
This commit is contained in:
parent
c9c65742c2
commit
9eac453540
|
|
@ -12,6 +12,8 @@ var repos='${new Dictionary<string,string> {
|
||||||
{"DependencyInjection", "git@github.com:aspnet/DependencyInjection.git"},
|
{"DependencyInjection", "git@github.com:aspnet/DependencyInjection.git"},
|
||||||
{"FileSystem", "git@github.com:aspnet/FileSystem.git"},
|
{"FileSystem", "git@github.com:aspnet/FileSystem.git"},
|
||||||
{"Logging", "git@github.com:aspnet/Logging.git"},
|
{"Logging", "git@github.com:aspnet/Logging.git"},
|
||||||
|
{"Configuration", "git@github.com:aspnet/Configuration.git"},
|
||||||
|
{"DataProtection", "git@github.com:aspnet/DataProtection.git"},
|
||||||
{"Data", "git@github.com:aspnet/Data.git"},
|
{"Data", "git@github.com:aspnet/Data.git"},
|
||||||
{"Razor", "git@github.com:aspnet/Razor.git"},
|
{"Razor", "git@github.com:aspnet/Razor.git"},
|
||||||
{"Routing", "git@github.com:aspnet/Routing.git"},
|
{"Routing", "git@github.com:aspnet/Routing.git"},
|
||||||
|
|
@ -53,6 +55,27 @@ default TARGET_DIR='${Path.Combine(BASE_DIR, "artifacts", "build")}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#init
|
||||||
|
@{
|
||||||
|
foreach(var repo in repos)
|
||||||
|
{
|
||||||
|
foreach (string file in new[]
|
||||||
|
{
|
||||||
|
".gitattributes",
|
||||||
|
".gitignore",
|
||||||
|
"build.cmd",
|
||||||
|
"makefile.shade",
|
||||||
|
"NuGet.Config",
|
||||||
|
})
|
||||||
|
{
|
||||||
|
if (!File.Exists(repo.Key + @"\" + file))
|
||||||
|
{
|
||||||
|
File.Copy(@"Template\" + file, repo.Key + @"\" + file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#only-compile target='compile'
|
#only-compile target='compile'
|
||||||
@{
|
@{
|
||||||
var failed = new Dictionary<string, Exception>();
|
var failed = new Dictionary<string, Exception>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue