fix automation build
This commit is contained in:
+2
-1
@@ -87,7 +87,8 @@ tasks.register('buildAngular_prod', Exec) {
|
||||
group = "_jambotron_build"
|
||||
|
||||
workingDir './jambotron-ui' // Path to your Angular project (e.g., './angular-app')
|
||||
executable 'npm.cmd' // Use 'npm' for Unix-like systems or 'npm.cmd' for Windows
|
||||
// Use 'npm' for Unix-like systems or 'npm.cmd' for Windows
|
||||
executable = Os.isFamily(Os.FAMILY_WINDOWS) ? 'npm.cmd' : 'npm'
|
||||
|
||||
// Your Angular build command
|
||||
args = ['run', 'build']
|
||||
|
||||
Reference in New Issue
Block a user