Add <preupdate /> tag.#2072
Conversation
moxie-coder
left a comment
There was a problem hiding this comment.
Sounds very cool on paper honestly, I might be able to think of use cases for this possibly (macros maybe)
|
I tried this out, and it works really well except for one minor nitpick: Like in the original issue (#1959), Lime will complain if the assets folder does not exist at build-time. Seems like this is checked before the preupdate script runs |
|
Ah, I see. It verifies the asset path when the The For
...I guess if assets are getting parsed in |
This allows users to pre-process (or even programmatically generate) their assets before Lime copies them. I've included a
<postupdate />tag for consistency (and so people don't ask why it's left out), but the main expected use case is pre-processing.This is a more specific alternative to #1993, which offered full control at the expense of more potential to shoot yourself in the foot. This version should behave more like people expect.
Closes #1959