On 03/11/2015 11:56 AM, Joakim Tjernlund wrote:
> On Wed, 2015-03-11 at 11:34 -0700, Zac Medico wrote:
>> On 03/11/2015 09:03 AM, Joakim Tjernlund wrote:
>>> When developing code it would be really nice if one could run your ebuild
>>> on that src tree as is(no fetch, unpack etc.)
>>
>> The existing convention is to create an ebuild with version 9999 and use one 
>> of the live vcs eclasses such 
>> as git-r3 to pull the live sources in the src_unpack function. In a future 
>> EAPI, we plan to add some 
>> features related to this [1].
> 
> I think you misunderstand, [1] is not what I want to do(I think):
> 
> Got my src working copy and made a few modds, not commitet yet.
> Now I just want build/test etc. before committing and to do that I just
> run mytree/overlay/dev-util/myapp/myapp.ebuild compile and voila, my code is
> built which I already have in mytree.

Well, you can create a -9999 ebuild that copies your sources from
$directory to $WORKDIR. Maybe use an environment to configure whether it
pulls from a local directory or a vcs repository.
-- 
Thanks,
Zac

Reply via email to