Skip to content

Commit a240b45

Browse files
committed
Add .gitignore for cache and logs
1 parent bf4a716 commit a240b45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DIR="$DIR/symfony-standard"
44
VENDOR="$DIR/vendor"
55
BUNDLES="$VENDOR/bundles"
66

7-
git clone https://github.com/symfony/symfony-standard.git
7+
git clone https://github.com/symfony/symfony-standard.git $DIR
88

99
cd $DIR
1010
rm -Rf ".git"
@@ -89,6 +89,9 @@ $DIR/app/console assets:install $DIR/web/
8989
chmod -R 0777 app/logs
9090
chmod -R 0777 app/cache
9191

92+
echo "app/cache" >> $DIR/.gitignore
93+
echo "app/logs" >> $DIR/.gitignore
94+
9295
git add .
9396
git commit -m "install submodules and web-assets"
9497

0 commit comments

Comments
 (0)