cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mspace <>
Subject [GitHub] cordova-lib pull request #494: Documentation for using cordova-lib with gulp
Date Thu, 29 Sep 2016 08:14:49 GMT
GitHub user mspace opened a pull request:

    Documentation for using cordova-lib with gulp

    Is there any documentation available or will be for using cordova-lib with gulp tasks.
For example
    gulp.task("build-apk", [], function(cb) {
      console.log("Task: build-apk");{
        "platforms": ["android"],
        "options": { argv: ["--debug", "--gradleArg=--no-daemon", "--buildConfig=build.json"]
} // cordova > 5.4.0    
        //"options": ["--release", "--gradleArg=--no-daemon", "--buildConfig=build.json"]
// cordova < 5.4.0
      }, function (cb1) { // cordova -> The callback is passed the error object upon failure,
or undefined upon success.
        console.log("Build release completed." + cb1);
        cb(cb1); // cb(err); // if err is not null and not undefined, the run will stop, and
note that it failed
    where could documentation for cordova-build be found. I ended up looking at source code Additionally
where what functions are available cordova.clean,, ...

You can merge this pull request into a Git repository by running:

    $ git pull 6.3.x

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #494
commit 91571407f985644c65dedb5f7e56f2f16eeffaf7
Author: Vladimir Kotikov <>
Date:   2016-07-12T15:57:49Z

    CB-11569 Bump pinned platforms' versions

commit 0d65e91451f63c60879e5189daf164583e949fc1
Author: Vladimir Kotikov <>
Date:   2016-07-12T15:47:54Z

    CB-11569 Updated version and for cordova-fetch release 1.0.1

commit 3df3a38da2e43584c92343b9056a88901083ceb1
Author: Vladimir Kotikov <>
Date:   2016-07-12T15:48:25Z

    CB-11569 Updated version and for cordova-common release 1.4.0

commit 09ab5bbc73da253f6ba0000db0979a27c3118596
Author: Vladimir Kotikov <>
Date:   2016-07-12T15:48:46Z

    CB-11569 Updated version and for cordova-lib release 6.3.0

commit 634202255d1c0e86ed8845a673818e5add7d7b1b
Author: Darryl Pogue <>
Date:   2016-07-15T18:23:27Z

    CB-11589: Fix missing plugin files after restore
     This closes #464

commit b5dc35bac1ac0391237c04bcb76a34fe82607d64
Author: Nikita Matrosov <>
Date:   2016-07-29T11:47:44Z

    CB-11205 Respect saved variables when installing plugin
    This closes #471

commit e4f30ceefd39e646d0513c50a1d17900995a4f50
Author: gruppjo <>
Date:   2016-06-27T14:50:02Z

    CB-11493: Add cordova emulate option to skip prepare
     This closes #459

commit 647852e5e48f779cc99c91b470d35b177644c342
Author: Jesse MacFadyen <>
Date:   2016-07-01T23:35:53Z

    CB-11194 Defer creating of libDir folder until something actually requests it
    This closes #462

commit 9b023d1bdd4c26bb94da751d3bc270dab3ae1ceb
Author: Vladimir Kotikov <>
Date:   2016-08-02T12:08:24Z

    CB-11652 Update run and emulate to skip build
    We need to add this conditional logic to cordova's `run` and
    `emulate` methods to skip build when `--nobuild` option is
    specified. CLI previously has delegated this logic to platform's
    `run` method but since introducing `before_deploy` hook we call
    platform's `build` and `run` separately and so we need to handle
    this option in CLI

commit a2736f594c47c0ecb173ea7f17d9ffa18758752a
Author: Vladimir Kotikov <>
Date:   2016-08-08T07:55:36Z

    CB-11685 Updated version and for 6.3.1 release


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message