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

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

Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-browser/pull/6#discussion_r23417228
  
    --- Diff: bin/update ---
    @@ -0,0 +1,33 @@
    +#!/usr/bin/env node
    +
    +/*
    +       Licensed to the Apache Software Foundation (ASF) under one
    +       or more contributor license agreements.  See the NOTICE file
    +       distributed with this work for additional information
    +       regarding copyright ownership.  The ASF licenses this file
    +       to you under the Apache License, Version 2.0 (the
    +       "License"); you may not use this file except in compliance
    +       with the License.  You may obtain a copy of the License at
    +
    +         http://www.apache.org/licenses/LICENSE-2.0
    +
    +       Unless required by applicable law or agreed to in writing,
    +       software distributed under the License is distributed on an
    +       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    +       KIND, either express or implied.  See the License for the
    +       specific language governing permissions and limitations
    +       under the License.
    +*/
    +var update = require('./lib/update');
    +
    +// check for help flag
    +if (['--help', '/?', '-h', 'help', '-help', 
'/help'].indexOf(process.argv[2]) > -1) {
    +    update.help();
    +} else {
    +    update.run(process.argv).done(function () {
    +        console.log('Successfully updated browser project.');
    +    }, function (err) {
    +        console.error('Update failed due to', err);
    +        process.exit(2);
    +    });
    +}
    --- End diff --
    
    Sorry that I did not update all the files correctly earlier. It would be 
great to automate something like this. :)


> Add support for browser platform update
> ---------------------------------------
>
>                 Key: CB-8206
>                 URL: https://issues.apache.org/jira/browse/CB-8206
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Browser
>    Affects Versions: 3.5.0
>            Reporter: Nikhil Khandelwal
>
> 'cordova update browser' is not supported. 
> I have a fix for it and will shortly send out a pull request.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to