|
|
|
@ -88,7 +88,7 @@ namespace Volo.Abp.Cli.ProjectModification |
|
|
|
RunYarn(fileDirectory); |
|
|
|
} |
|
|
|
|
|
|
|
if (!IsAngularProject(fileDirectory)) |
|
|
|
if (!IsAngularProject(fileDirectory) && GulpFileExistAsync(fileDirectory)) |
|
|
|
{ |
|
|
|
Thread.Sleep(1000); |
|
|
|
RunGulp(fileDirectory); |
|
|
|
@ -108,6 +108,11 @@ namespace Volo.Abp.Cli.ProjectModification |
|
|
|
return await Task.FromResult(File.Exists(Path.Combine(directoryName, ".npmrc"))); |
|
|
|
} |
|
|
|
|
|
|
|
private static bool GulpFileExistAsync(string directoryName) |
|
|
|
{ |
|
|
|
return File.Exists(Path.Combine(directoryName, "gulpfile.js")); |
|
|
|
} |
|
|
|
|
|
|
|
private async Task CreateNpmrcFileAsync(string directoryName) |
|
|
|
{ |
|
|
|
var fileName = Path.Combine(directoryName, ".npmrc"); |
|
|
|
|