Skip to content

Commit

Permalink
Keep an empty and cache and logs directory for new installations
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhartless committed Oct 5, 2016
1 parent 64129a1 commit 00da819
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
!/app/bundles/CoreBundle/Assets/css/libraries/froala/plugins/gated_video.css
!/app/bundles/CoreBundle/Assets/css/*.css
/app/cache/*
!/app/cache/.gitkeep
/app/logs/*
!/app/logs/.gitkeep
/app/config/local*.php
/app/config/config_local.php
/app/config/paths_local.php
Expand Down Expand Up @@ -40,4 +42,4 @@
!/media/images/mautic_logo*
!/media/images/.htaccess
/media/dashboards/*
!/media/dashboards/*.json
!/media/dashboards/*.json
Empty file added app/cache/.gitkeep
Empty file.
Empty file added app/logs/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions build/processfiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
system('rm -f app/tests.bootstrap*');
system('rm -rf app/bundles/*/Tests');
system('rm -rf app/bundles/CoreBundle/Test');
system('rm -rf app/cache/dev');
system('rm -rf app/cache/*');
system('rm -rf media/files/*');
system('rm -f app/config/config_dev.php');
system('rm -f app/config/config_test.php');
system('rm -f app/config/local*.php');
system('rm -f app/config/routing_dev.php');
system('rm -f app/config/security_test.php');
system('rm -rf app/logs');
system('rm -rf app/logs/*');

// babdev/transifex
system('rm -f vendor/babdev/transifex/.scrutinizer.yml');
Expand Down

0 comments on commit 00da819

Please sign in to comment.