[Scons-users] git use
Philipp Kraus
philipp.kraus at flashpixx.de
Sun Aug 12 06:20:33 EDT 2012
On 2012-08-10 18:37:48 +0200, LRN said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10.08.2012 18:47, Gary Oberbrunner wrote:
>> 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 ...')
> Obviously, you clone once, and fetch&rebase (or pull) + submodule
> update afterwards. Cloning a repo every time is bad for everyone.
No git clone is called only once (I use it for downloading / installing
libraries and this
must be on installing the project)
Phil
More information about the Scons-users
mailing list