[Scons-users] check for build

Dirk Bächle tshortik at gmx.de
Fri Jun 7 15:25:49 EDT 2013


Hi Phil,

On 07.06.2013 20:57, Philipp Kraus wrote:

>

> Am 07.06.2013 um 20:28 schrieb Dirk Bächle:

>

>> On 07.06.2013 19:45, Bill Deegan wrote:

>>> Sounds like what you really want is a scanner to get the hash from

>>> the source for your download builder.

>>> Not a change to your emitter..

>>>

>>

>> Another approach would be to put the HTTP header text into a

>> ValueNode, and then let the target (downloaded file) depend on it.

>

> Both ideas are nice, but your idea sound a little bit better. My

> emitter creates the target filename eg

> env.Download("a_target_name", "http://..../file.tar"), so the emitter

> changes the target name into file.tar, the builder create the access

> for download.

>

> With an option I can use the target name, that is set in the function

> call or the name can be replaced by the emitter.

>


why do you want to do the "#"s in the Emitter?

Regards,

Dirk




More information about the Scons-users mailing list