added .gitignore files

This commit is contained in:
Fabien Potencier
2017-03-14 19:36:23 -07:00
parent 733bb1eab4
commit 9b8e228df4
3 changed files with 23 additions and 2 deletions
@@ -24,5 +24,20 @@
"\t@echo \"Run \\033[32mcomposer require symfony/web-server-bundle\\033[39m for a better web server\"",
"\tphp -S 127.0.0.1:8000 -t web",
".PHONY: serve"
],
"gitignore": [
".env",
"/var/*",
"!/var/cache",
"/var/cache/*",
"!var/cache/.gitkeep",
"!/var/logs",
"/var/logs/*",
"!var/logs/.gitkeep",
"!/var/sessions",
"/var/sessions/*",
"!var/sessions/.gitkeep",
"/vendor/",
"/web/bundles/"
]
}
+4 -1
View File
@@ -1,5 +1,8 @@
{
"copy-from-recipe": {
"phpunit.xml.dist": "phpunit.xml.dist"
}
},
"gitignore": [
"/phpunit.xml"
]
}
@@ -1,5 +1,8 @@
{
"bundles": {
"Symfony\\Bundle\\WebServerBundle\\WebServerBundle": ["dev"]
}
},
"gitignore": [
".web-server-pid"
]
}