cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11478) Windows run vs build archs parsing inconsistency
Date Tue, 02 Aug 2016 13:04:20 GMT

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

ASF GitHub Bot commented on CB-11478:
-------------------------------------

Github user vladimir-kotikov commented on a diff in the pull request:

    https://github.com/apache/cordova-windows/pull/190#discussion_r73150144
  
    --- Diff: template/cordova/lib/run.js ---
    @@ -39,7 +39,7 @@ module.exports.run = function (options) {
     
         // parse arg
         var args  = nopt({
    -        'archs': String,
    +        'archs': [String],
    --- End diff --
    
    Update: in terms of nopt `String` argument type is the same as `[String]`. The latter
syntax (with array literal) just allows to specify multiple allowed types


> Windows run vs build archs parsing inconsistency
> ------------------------------------------------
>
>                 Key: CB-11478
>                 URL: https://issues.apache.org/jira/browse/CB-11478
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 4.4.2
>            Reporter: Sergey Shakhnazarov
>            Assignee: Vladimir Kotikov
>              Labels: found-by-ci, reproduced, triaged, windows
>             Fix For: 4.4.3
>
>
> {{cordova build windows -- --arch=x86}}
> {{cordova build windows --arch=x86}}
> Both of this commands work properly but there is an inconsistency with cordova run:
> {{cordova run windows -- --arch=x86}} // this works OK
> {{cordova run windows --arch=x86}} // this uses anycpu pkg



--
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