cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9987) cordova-lib compile arguments changed
Date Fri, 13 Nov 2015 01:41:11 GMT

    [ https://issues.apache.org/jira/browse/CB-9987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003377#comment-15003377
] 

Steve Gill commented on CB-9987:
--------------------------------

Running cordova compile --device Two outputs:

New:
{code}
{ platforms: [],
  options: { device: true, argv: [] },
  verbose: false,
  silent: false,
  browserify: false,
  searchpath: undefined }
{code}

Old:
{code}
{ platforms: [],
  options: [ '--device' ],
  verbose: false,
  silent: false,
  browserify: false,
  searchpath: undefined }
{code}

> cordova-lib compile arguments changed
> -------------------------------------
>
>                 Key: CB-9987
>                 URL: https://issues.apache.org/jira/browse/CB-9987
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 5.4.0
>            Reporter: Jimmy Thomson
>            Assignee: Steve Gill
>            Priority: Critical
>
> Prior to cordova-lib 5.4.0 cordova.raw.compile accepted an object such as { options:
["list", "of", "options"]}. As of 5.4.0 it seems to want { options: {argv: ["list", "of",
"options"]}} instead. This causes silent failures if other packages attempt to use the older
approach.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message