File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -171,10 +171,6 @@ module.exports = {
171171 cmd : localCfg . tnsPath + " create " + localCfg . testsAppName ,
172172 cwd : localCfg . workingDir
173173 } ,
174- addPlatform : {
175- cmd : "tns platform add " + localCfg . platform . toLowerCase ( ) + " " + localCfg . frameworkArgument ,
176- cwd : localCfg . applicationDir
177- } ,
178174 restartAdb : {
179175 cmd : "adb kill-server && adb start-server"
180176 } ,
@@ -241,6 +237,15 @@ module.exports = {
241237 }
242238 }
243239 } ,
240+ addPlatform : {
241+ command : "tns platform add " + localCfg . platform . toLowerCase ( ) + " " + localCfg . frameworkArgument ,
242+ options : {
243+ execOptions : {
244+ maxBuffer : Infinity ,
245+ cwd : localCfg . applicationDir
246+ }
247+ }
248+ } ,
244249 }
245250 } ) ;
246251
@@ -294,7 +299,7 @@ module.exports = {
294299 "copy:modulesToDir" ,
295300 "clean:tempExtractedModules" ,
296301
297- "exec :addPlatform" ,
302+ "shell :addPlatform" ,
298303 getPlatformSpecificTask ( "copy:add{platform}Permissions" ) ,
299304 "shell:buildApp" ,
300305 ] ) ;
You can’t perform that action at this time.
0 commit comments