On 25 Sep 2015 21:10, "j adams" <zardozro...@gmail.com> wrote:
>
> I have made good progress on a PHP extension and I'd like to post it on
> github to get some review and help from some others. The folder has quite
a
> few files and I'm hoping to avoid putting anything in git that doesn't
need
> to be there.
>
> I see that php 5.6 has this .gitignore file:
>
http://git.php.net/?p=php-src.git;a=blob_plain;f=.gitignore;hb=f5751638dbd77136ce5c90e7d8bd090aa655c2a3
>
> But that one is for the root of the php project. I just want my git repo
to
> contain my code in the ext/extension-name folder.
>
> Can anyone recommend a good .gitignore file for extensions? I looked
around
> in a bunch of the PECL dirs and found a couple:
> http://git.php.net/?p=pecl/languages/v8js.git;a=tree
> http://git.php.net/?p=pecl/networking/ssh2.git;a=tree

The "standard" .gitignore is generated by the ext_skel script, see
http://git.php.net/?p=php-src.git;a=blob;f=ext/ext_skel;h=a1c64640ae63b15149add0f1e94378edc7291a38;hb=HEAD

Reply via email to