[Scons-users] post action after builder action run
Gary Oberbrunner
garyo at oberbrunner.com
Mon Oct 1 11:05:04 EDT 2012
On Mon, Oct 1, 2012 at 10:52 AM, Kraus Philipp
<philipp.kraus at flashpixx.de> wrote:
>
> 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 .... ?
Yes, exactly.
--
Gary
More information about the Scons-users
mailing list