static void Main(string[] args) { var runner = new GitPackagerRunner(); runner.Package( @"C:\Projects\kortext\Kortext-Store", new Dictionary <string, string> { [@"src\Presentation\Nop.Web\Themes\Kortext\"] = @"C:\Projects\temp\kortext\Themes\Kortext\", [@"src\Presentation\Nop.Web\Content\"] = @"C:\Projects\temp\kortext\Content\", [@"src\Presentation\Nop.Web\Scripts\"] = @"C:\Projects\temp\kortext\Scripts\", [@"src\Presentation\Nop.Web\Views\"] = @"C:\Projects\temp\kortext\Views\", [@"src\Presentation\Nop.Web\Administration\Content\"] = @"C:\Projects\temp\kortext\Administration\Content\", [@"src\Presentation\Nop.Web\Administration\Views\"] = @"C:\Projects\temp\kortext\Administration\Views\" }, tag: "1.1.5"); //commit: "3856e5bf60fd426c22b35a847ba27648edced2b8"); }
public static void GitPackager( this ICakeContext context, string repository, IDictionary <string, string> mapping, string tag = null, string commit = null) { if (context == null) { throw new ArgumentNullException(nameof(context)); } Logger.LogEngine = context.Log; var runner = new GitPackagerRunner(); runner.Package(repository, mapping, tag, commit); }