[Scons-users] git use
Gary Oberbrunner
garyo at oberbrunner.com
Fri Aug 10 10:47:17 EDT 2012
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.
--
Gary
More information about the Scons-users
mailing list