[Scons-users] post action after builder action run

Kraus Philipp philipp.kraus at flashpixx.de
Mon Oct 1 10:52:01 EDT 2012



Am 01.10.2012 um 15:53 schrieb Gary Oberbrunner:


> On Mon, Oct 1, 2012 at 9:43 AM, Kraus Philipp

> <philipp.kraus at flashpixx.de> wrote:

>>

>> Am 01.10.2012 um 15:20 schrieb Gary Oberbrunner:

>>

>>> On Mon, Oct 1, 2012 at 9:16 AM, Philipp Kraus

>>> <philipp.kraus at flashpixx.de> wrote:

>>> ...

>>>> In the documentation the Post / Pre-Action is defined for the environment,

>>>> but my question is for the builder, so I would like define an post-action

>>>> after the builder action, because I need it depend on the source (input of

>>>> the builder / emitter)

>>>

>>> Why not just make the action a list of actions, with your post-delete last?

>>

>>

>> How can I define a list on the builder?

>

> Builder(..., action=['cmd1 ...', 'cmd2 ...', 'cmd3 ...'])

>

> hope that helps,


Great, so cmd1 is run before cmd2 .... ?

Thanks a lot

Phil


More information about the Scons-users mailing list