Procházet zdrojové kódy

Update CakePHP.gitignore

Ignore all tmp and log files but preserve the directory structure
Patrício dos Santos před 9 roky
rodič
revize
0022763f14
1 změnil soubory, kde provedl 13 přidání a 1 odebrání
  1. 13 1
      CakePHP.gitignore

+ 13 - 1
CakePHP.gitignore

@@ -2,8 +2,20 @@
 
 /vendor/*
 /config/app.php
-/tmp/*
+
+/tmp/cache/models/*
+!/tmp/cache/models/empty
+/tmp/cache/persistent/*
+!/tmp/cache/persistent/empty
+/tmp/cache/views/*
+!/tmp/cache/views/empty
+/tmp/sessions/*
+!/tmp/sessions/empty
+/tmp/tests/*
+!/tmp/tests/empty
+
 /logs/*
+!/logs/empty
 
 # CakePHP 2