cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorin Beer (JIRA)" <>
Subject [jira] [Created] (CB-6250) [CLI] Cordova build doesn't return anything
Date Thu, 13 Mar 2014 21:59:45 GMT
Lorin Beer created CB-6250:

             Summary: [CLI] Cordova build doesn't return anything
                 Key: CB-6250
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
            Reporter: Lorin Beer

The CLI Build functionality implicitly calls before build hooks, prepare, compile, and afterbuild
hooks. Promises are used to time the events.

By not returning a promise, or observing the callback api, projects depending on the cli don't
know when to run local code depending on the promises executing.

I'd like to see the cli both returning a promise or executing a callback. The behaviour is
simple to implement and observed in several major projects.

This would prevent subprojects and scripts from being forced to adopt promises.

This message was sent by Atlassian JIRA

View raw message