浏览代码

Merge pull request #1117 from nicwortel/symfony3

Add .gitignore rules for Symfony3
Carl Suster 10 年之前
父节点
当前提交
6abb147ae5
共有 1 个文件被更改,包括 12 次插入2 次删除
  1. 12 2
      Symfony.gitignore

+ 12 - 2
Symfony2.gitignore → 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