From 5ba20b5bb373f77349279912ba4751723bb99fc0 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 4 Jan 2018 15:03:09 -0600 Subject: [PATCH] add back accidentally deleted cache dirs --- Makefile | 6 +++--- storage/framework/cache/.gitignore | 2 ++ storage/framework/sessions/.gitignore | 2 ++ storage/framework/views/.gitignore | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 storage/framework/cache/.gitignore create mode 100644 storage/framework/sessions/.gitignore create mode 100644 storage/framework/views/.gitignore diff --git a/Makefile b/Makefile index 80571a3b..e6cda293 100644 --- a/Makefile +++ b/Makefile @@ -19,9 +19,9 @@ clean: @find bootstrap/cache -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf @find storage/app/public -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf @find storage/app -type f -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -rf - @find storage/framework/cache -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf - @find storage/framework/sessions -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf - @find storage/framework/views -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf + @find storage/framework/cache/ -type f -or -type d -not -name '.gitignore' -mindepth 1 -print0 | xargs -0 rm -rf + @find storage/framework/sessions/ -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf + @find storage/framework/views/ -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf @find storage/logs -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf .PHONY: clean-routes diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore new file mode 100644 index 00000000..b1da3b9c --- /dev/null +++ b/storage/framework/cache/.gitignore @@ -0,0 +1,2 @@ +-* +-!.gitignore diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore new file mode 100644 index 00000000..b1da3b9c --- /dev/null +++ b/storage/framework/sessions/.gitignore @@ -0,0 +1,2 @@ +-* +-!.gitignore diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore new file mode 100644 index 00000000..b1da3b9c --- /dev/null +++ b/storage/framework/views/.gitignore @@ -0,0 +1,2 @@ +-* +-!.gitignore