Merge pull request #319 from nabeelio/issue/316-missing-folders

Add missing folders under storage/public #316
This commit is contained in:
Nabeel S 2019-07-08 13:51:53 -04:00 committed by GitHub
commit 331b9133a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

View File

@ -89,7 +89,9 @@ if [ "$TRAVIS" = "true" ]; then
# clear any app specific stuff that might have been loaded in
find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -not -name import -print0 -exec rm -rf {} +
find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
find storage/app/public -mindepth 1 -not -name '.gitignore' -not -name avatar -not -name uploads -print0 -exec rm -rf {} +
find storage/app/public/avatar -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
find storage/app/public/uploads -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
find storage/debugbar -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
find storage/docker -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
find storage/framework/cache -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +

View File

@ -1,2 +1,4 @@
*
!avatar
!uploads
!.gitignore

2
storage/app/public/avatar/.gitignore vendored Executable file
View File

@ -0,0 +1,2 @@
*
!.gitignore

2
storage/app/public/uploads/.gitignore vendored Executable file
View File

@ -0,0 +1,2 @@
*
!.gitignore