diff --git a/build/_git-config.shade b/build/_git-config.shade new file mode 100644 index 0000000000..b6d97436cb --- /dev/null +++ b/build/_git-config.shade @@ -0,0 +1,4 @@ + +var gitCommand='config ${gitOptionName} ${gitOptionValue}' + +git diff --git a/makefile.shade b/makefile.shade index 834db5f08c..a1f19cf36d 100644 --- a/makefile.shade +++ b/makefile.shade @@ -57,6 +57,8 @@ default TARGET_DIR='${Path.Combine(BASE_DIR, "artifacts", "build")}' else { GitClone(repo.Value, "dev"); + GitConfig("bugtraq.url", "http://github.com/aspnet/" + repo.Key + "/issues/%BUGID%", repo.Key); + GitConfig("bugtraq.logregex", @"#(\d+)", repo.Key); } } } @@ -134,5 +136,8 @@ macro name='GitPull' gitUri='string' gitBranch='string' gitFolder='string' macro name='GitClone' gitUri='string' gitBranch='string' git-clone +macro name='GitConfig' gitOptionName='string' gitOptionValue='string' gitFolder='string' + git-config + macro name='Exec' program='string' commandline='string' workingdir='string' exec