[Scons-users] check for build

Philipp Kraus philipp.kraus at flashpixx.de
Fri Jun 7 16:11:44 EDT 2013



Am 07.06.2013 um 21:25 schrieb Dirk Bächle:


> 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?


That's my first idea, is there a better position?
I hope for any idea to solve this problem

Phil



More information about the Scons-users mailing list