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

Alloy: Introduce a compiler hook that runs before assets are copied

    Details

      Description

      The first compiler hook is currently pre:compile and runs before compile (duh..), but after libs and assets have been copied.

      I did an alloy.jmk file that searches for retina @2x images and uses ImageMagick to generate non-retina images if they don't already exist. Now because the pre:compile hooks runs after the assets have been copied, I have to search both the app and the Resources folder.

      I'm sure there are other cases like this, for which a new pre:assets|files|copy hook would be useful. For the above use case, having this hook would also allow me to know the time of the previous compile (by getting the ctime of the Resources/alloy folder) and use this to detect updated retina files as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tlukasavage Tony Lukasavage
                Reporter:
                fokkezb Fokke Zandbergen
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration