Exemplo n.º 1
0
 protected virtual void RunInstallLibsForWebTemplate(ProjectBuildArgs projectArgs)
 {
     if (AppTemplateBase.IsAppTemplate(projectArgs.TemplateName) ||
         ModuleTemplateBase.IsModuleTemplate(projectArgs.TemplateName) ||
         AppNoLayersTemplateBase.IsAppNoLayersTemplate(projectArgs.TemplateName) ||
         MicroserviceServiceTemplateBase.IsMicroserviceTemplate(projectArgs.TemplateName))
     {
         CmdHelper.RunCmd("abp install-libs", projectArgs.OutputFolder);
     }
 }
Exemplo n.º 2
0
 protected async Task RunInstallLibsForWebTemplateAsync(ProjectBuildArgs projectArgs)
 {
     if (AppTemplateBase.IsAppTemplate(projectArgs.TemplateName) ||
         ModuleTemplateBase.IsModuleTemplate(projectArgs.TemplateName) ||
         AppNoLayersTemplateBase.IsAppNoLayersTemplate(projectArgs.TemplateName) ||
         MicroserviceServiceTemplateBase.IsMicroserviceTemplate(projectArgs.TemplateName))
     {
         Logger.LogInformation("Installing client-side packages...");
         await InstallLibsService.InstallLibsAsync(projectArgs.OutputFolder);
     }
 }