public static bool SyncProjects(ModuleInfo module, string platform = null) { if (string.IsNullOrWhiteSpace(platform)) { platform = DetectPlatform(); } var task = new SyncProjectsTask { SourcePath = Path.Combine(module.Path, "Build", "Projects"), RootPath = module.Path + Path.DirectorySeparatorChar, Platform = platform, ModuleName = module.Name }; return(task.Execute()); }
public static bool SyncProjects(ModuleInfo module, string platform = null) { if (string.IsNullOrWhiteSpace(platform)) platform = DetectPlatform(); var task = new SyncProjectsTask { SourcePath = Path.Combine(module.Path, "Build", "Projects"), RootPath = module.Path + Path.DirectorySeparatorChar, Platform = platform, ModuleName = module.Name }; return task.Execute(); }
public static bool SyncProjectsForPlatform(ModuleInfo module, string platform) { if (module.DisableSynchronisation ?? false) { Console.WriteLine("Synchronisation is disabled for " + module.Name + "."); return false; } if (string.IsNullOrWhiteSpace(platform)) platform = DetectPlatform(); var task = new SyncProjectsTask { SourcePath = Path.Combine(module.Path, "Build", "Projects"), RootPath = module.Path + Path.DirectorySeparatorChar, Platform = platform, ModuleName = module.Name }; return task.Execute(); }