File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,18 @@ task("cleanNestJs") {
3030
3131task(" buildNestJs" ) {
3232 if (project.hasProperty(" withNestJs" )) {
33- execOperations .exec {
33+ providers .exec {
3434 logger.info(" Task buildNestJs - npm install" )
35- workingDir(" src/nestjs" )
35+ workingDir(" $projectDir / src/nestjs" )
3636 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )) {
3737 commandLine(" npm.cmd" , " install" )
3838 } else {
3939 commandLine(" npm" , " install" )
4040 }
4141 }.result.get()
42- execOperations .exec {
42+ providers .exec {
4343 logger.info(" Task buildNestJs - npm run build" )
44- workingDir(" src/nestjs" )
44+ workingDir(" $projectDir / src/nestjs" )
4545 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )) {
4646 commandLine(" npm.cmd" , " run" , " build" )
4747 } else {
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ task("buildAngular") {
4343 if (project.hasProperty(" withAngular" )) {
4444 providers.exec {
4545 logger.info(" Task buildAngular - npm install" )
46- workingDir (" src/angular" )
46+ workingDir (" $projectDir / src/angular" )
4747 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
4848 commandLine(" npm.cmd" , " install" )
4949 } else {
@@ -52,7 +52,7 @@ task("buildAngular") {
5252 }.result.get()
5353 providers.exec {
5454 logger.info(" Task buildAngular - npm run build" )
55- workingDir(" src/angular" )
55+ workingDir(" $projectDir / src/angular" )
5656 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
5757 commandLine(" npm.cmd" , " run" , " build" )
5858 } else {
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ task("buildAngular") {
4343 if (project.hasProperty(" withAngular" )) {
4444 providers.exec {
4545 logger.info(" Task buildAngular - npm install" )
46- workingDir (" src/angular" )
46+ workingDir (" $projectDir / src/angular" )
4747 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
4848 commandLine(" npm.cmd" , " install" )
4949 } else {
@@ -52,7 +52,7 @@ task("buildAngular") {
5252 }.result.get()
5353 providers.exec {
5454 logger.info(" Task buildAngular - npm run build" )
55- workingDir(" src/angular" )
55+ workingDir(" $projectDir / src/angular" )
5656 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
5757 commandLine(" npm.cmd" , " run" , " build" )
5858 } else {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ task("buildAngular") {
4242 if (project.hasProperty(" withAngular" )) {
4343 providers.exec {
4444 logger.info(" Task buildAngular - npm install" )
45- workingDir (" src/angular" )
45+ workingDir (" $projectDir / src/angular" )
4646 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
4747 commandLine(" npm.cmd" , " install" )
4848 } else {
@@ -51,7 +51,7 @@ task("buildAngular") {
5151 }.result.get()
5252 providers.exec {
5353 logger.info(" Task buildAngular - npm run build" )
54- workingDir(" src/angular" )
54+ workingDir(" $projectDir / src/angular" )
5555 if (System .getProperty(" os.name" ).uppercase().contains(" WINDOWS" )){
5656 commandLine(" npm.cmd" , " run" , " build" )
5757 } else {
You can’t perform that action at this time.
0 commit comments