[Scons-users] Order of execution of a one-file builder

Mats Wichmann mats at wichmann.us
Wed Nov 23 11:38:09 EST 2022


On 11/23/22 09:18, Bill Deegan wrote:
> env.Sign = Action(....)
> 
> But as I said earlier a better solution would be to change your 
> Installer builder to optionally do the signing Action.

Or perhaps a bit more formally, use AddMethod() to add it - but I'll 
agree with Bill, don't add it if there's another, more direct, way.

> 
> On Wed, Nov 23, 2022 at 4:25 AM Javier Llopis <javier at llopis.me 
> <mailto:javier at llopis.me>> wrote:
> 
>     I'm exploring creating an Action instead of a builder. Is there any
>     way I can give a name to my Action, just like the built-in actions
>     "env.Chmod" or "env.Copy" have? If possible, I'd like my action to
>     be called "Sign", so the code would like AddPostAction(installer,
>     env.Sign)
> 
>     TIA
>     J





More information about the Scons-users mailing list