aboutsummaryrefslogtreecommitdiffstats
path: root/Symfony.gitignore
diff options
context:
space:
mode:
authorNic Wortel <nd.wortel@gmail.com>2014-09-01 10:50:33 +0200
committerNic Wortel <nd.wortel@gmail.com>2014-09-01 10:52:45 +0200
commit2626eee811f99542d35eb474d30902e3db480cfc (patch)
tree366b78c4ec024cacae040c55600a15244004e9c6 /Symfony.gitignore
parent5e34ab0bc2c0aebc0af0ee1419671043734fc346 (diff)
downloadgitignore-2626eee811f99542d35eb474d30902e3db480cfc.tar.gz
gitignore-2626eee811f99542d35eb474d30902e3db480cfc.zip
Update Symfony.gitignore to support Symfony3
Symfony3 (and some versions of Symfony2) come with a new directory structure. This updated version of Symfony.gitignore supports this new directory structure as well as the old one.
Diffstat (limited to 'Symfony.gitignore')
-rw-r--r--Symfony.gitignore14
1 files changed, 12 insertions, 2 deletions
diff --git a/Symfony.gitignore b/Symfony.gitignore
index d6e334bb..636b6f8e 100644
--- a/Symfony.gitignore
+++ b/Symfony.gitignore
@@ -1,16 +1,25 @@
-# Cache and logs
+# Cache and logs (Symfony2)
/app/cache/*
/app/logs/*
!app/cache/.gitkeep
!app/logs/.gitkeep
+# Cache and logs (Symfony3)
+/var/cache/*
+/var/logs/*
+!var/cache/.gitkeep
+!var/logs/.gitkeep
+
# Parameters
/app/config/parameters.yml
/app/config/parameters.ini
# Managed by Composer
/app/bootstrap.php.cache
-/bin/
+/var/bootstrap.php.cache
+/bin/*
+!bin/console
+!bin/symfony_requirements
/vendor/
# Assets and user uploads
@@ -19,6 +28,7 @@
# PHPUnit
/app/phpunit.xml
+/phpunit.xml
# Composer PHAR
/composer.phar