Re: Order of execution of a one-file builder

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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 <[email protected] 
> <mailto:[email protected]>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.