This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Execute script before and after build

Hi

I'm new on Zephir and SES.

Is it possible to run a script before and after build in SES?

Thanks for any Idea

Parents Reply Children
  • Have you gotten any progress with SES?
    I got some insight internally how to go about this in cmake.
    It is possible to to run a script before the build by adding a dependency to the cmake target that generates the artifact, and after using a POST_BUILD_COMMAND on that target. But there are restrictions in cmake on when you can do that sort of thing, so you’ll need to do some investigation once you have the details on the exact target of interest.
    Best regards,
    Simon
Related