Re: recommended .gitignore for PHP/PECL extensions

From: Date: Fri, 25 Sep 2015 21:53:28 +0000
Subject: Re: recommended .gitignore for PHP/PECL extensions
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-88504@lists.php.net to get a copy of this message
On 25 Sep 2015 21:10, "j adams" <zardozrocks@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

« previous php.internals (#88504) next »