El sábado, 14 de febrero de 2015, 14:34:41 (UTC-6), Tony Kelman escribió:
>
> Copying over any new files that Pkg.generate() created for you and making 
> sure you follow the same directory structure is probably the best way of 
> doing this. A little kludgy but I can't think of anything better.
>

OK, thanks.

Maybe Pkg.generate() could just use the current repo as the base if it 
finds itself inside a pre-existing repo, and add the extra files needed, 
move .jl files to the src/ directory, etc. (with suitable prompting). 
  

>
>
> On Saturday, February 14, 2015 at 10:57:03 AM UTC-8, David P. Sanders 
> wrote:
>>
>> Hi,
>>
>> What's the workflow to make a Julia package out of a pre-existing git 
>> repo?
>> `Pkg.generate()` makes a new, separate git repo. 
>>
>> So far I have done some kind of kludgy thing where I used 
>> `Pkg.generate()`, copied over the files from the newly-generated package to 
>> my pre-existing repo, 
>> changed the directory structure accordingly, etc. 
>>
>> Thanks,
>> David.
>>
>

Reply via email to