[Scons-users] git use

Philipp Kraus philipp.kraus at flashpixx.de
Sun Aug 12 06:18:53 EDT 2012


On 2012-08-10 16:47:17 +0200, Gary Oberbrunner said:


> On Fri, Aug 10, 2012 at 9:37 AM, Kraus Philipp

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

>> Hello,

>>

>> does Scons handle git repositories? I would clone (git clone) directly in Scons

>

> No, SCons doesn't have any direct support for cloning from git as part

> of a build. You can approximate it two ways:

> 1. SConstructs are just python; you can use os.system('git clone ...')

> 2. If you want to have it be part of the dependency graph, you can

> use env.Command(), and use any known file as the target.


Thanks, I have used the env.Command




More information about the Scons-users mailing list