Le 25/09/2015 21:10, j adams a écrit :
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
From the ext_skel script :
.deps
*.lo
*.la
.libs
acinclude.m4
aclocal.m4
autom4te.cache
build
config.guess
config.h
config.h.in
config.log
config.nice
config.status
config.sub
configure
configure.in
include
install-sh
libtool
ltmain.sh
Makefile
Makefile.fragments
Makefile.global
Makefile.objects
missing
mkinstalldirs
modules
run-tests.php
tests/*/*.diff
tests/*/*.out
tests/*/*.php
tests/*/*.exp
tests/*/*.log
tests/*/*.sh
Regards
François
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php