iamricard / gulp-cordova

[UNMAINTAINED] Very simple plugin to run cordova commands with a simple interface from gulp
http://npm.im/gulp-cordova
MIT License
23 stars 8 forks source link

#11 #14

Closed Matzu89 closed 9 years ago

Matzu89 commented 9 years ago

Running works using just

cordova.raw[cmd].call(null, opts).done(next)

So the extra if statement is not necessary. Using this, one can do:

.pipe(cordova(["run", "android"]))

in gulpfile.

iamricard commented 9 years ago

Thanks for the help @Matzu89 would it be too much to ask to provide a test? Also please add a new line at the end of the file and :+1:

Related to #11

iamricard commented 9 years ago

Also, please rename your commit as feature: enable "run" command or something similar if possible. :smile: