Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1151

Alloy: Support async build hooks

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Models
    • Environment:

      Alloy 1.5.0 RC (latest)

    • Story Points:
      13

      Description

      I love using Alloy build hooks through alloy.jmk files. However, I'd like to also start async processes and block the compile process from continuing until they are done.

      Example

      task("pre:load",function(event,logger,done){
          require('ticons').assets({
            minDpi: 320
          }, done);
      });
      

      Solution

      The solution could be modeled after the Titanium CLI which already supports both sync and async hooks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fokkezb Fokke Zandbergen
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration