csantanapr / grunt-cordovacli

Wraps web app with Cordova CLI using GruntJS
Apache License 2.0
60 stars 31 forks source link

Plugin add does not work with variables #22

Closed njtman closed 9 years ago

njtman commented 9 years ago

When adding a plugin, grunt-cordovacli has trouble passing along plugin variables on installation. The value of the variable is clearly passed along to the command line as shown below, but for some reason it is just not working. See log below

Using cordova CLI version (4.2.0) Setting Current Working Directory (CWD) to cordova Running:/Users/mobiledev/Documents/mobileapps/MyApp/node_modules/cordova/bin/cordova plugin add http://myserver:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=value Fetching plugin "http://myserver:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git" via git clone Variable(s) missing (use: --variable URL_SCHEME=value). Done-> cordova plugin add http://myserver.com:7990/scm/cdvp/LaunchMyApp-PhoneGap-Plugin.git --variable URL_SCHEME=value Success-> with Series tasks

njtman commented 9 years ago

Sorry, this issue was already brought up and it has been fixed. Feature request: add_plugins with variable #7