Skip to content

Commit

Permalink
Move spool folder to var
Browse files Browse the repository at this point in the history
  • Loading branch information
cocolabssas committed Mar 21, 2019
1 parent 5d8c6a5 commit 63d20bc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion app/config/config_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ swiftmailer:
# delivery_address: me@example.com
spool:
type: file
path: "%kernel.root_dir%/spool"
path: "%kernel.root_dir%/../var/spool"
4 changes: 1 addition & 3 deletions app/config/config_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,4 @@ monolog:

swiftmailer:
spool:
type: memory
# type: file
# path: "%kernel.root_dir%/spool"
type: memory
22 changes: 13 additions & 9 deletions app/config/rsync_exclude.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ php
/app/config/*_test.yml.dist
/app/config/parameters.yml
/app/bootstrap.php.cache
/app/phpunit.xml.dist
/app/phpunit.xml
/app/phpmd.xml
/app/spool
/app/rsync_exclude.txt


Expand Down Expand Up @@ -81,13 +77,21 @@ php
/features/*
/tmp/*.txt

###Docs
/README.md
/LICENSE

###Tests
/build.xml
behat.*

###Auth
auth.json
auth.json

###Mangopay
/tmp/mangopay/*.php
/tmp/mangopay/.gitkeep

#Doc
/doc/phpdocs/sami.phar

/var
/var/phpunit.xml.dist
/var/phpunit.xml
/var/phpmd.xml
8 changes: 4 additions & 4 deletions bin/init-db
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ then
fi

# "${PHP_ARG}" app/console doctrine:database:drop --force "${ENV_ARG}"
"${PHP_ARG}" app/console doctrine:database:create --if-not-exists "${ENV_ARG}"
"${PHP_ARG}" app/console doctrine:schema:update --force "${ENV_ARG}"
"${PHP_ARG}" app/console doctrine:fixtures:load "${ENV_ARG}"
"${PHP_ARG}" app/console cocorico:currency:update "${ENV_ARG}"
"${PHP_ARG}" bin/console doctrine:database:create --if-not-exists "${ENV_ARG}"
"${PHP_ARG}" bin/console doctrine:schema:update --force "${ENV_ARG}"
"${PHP_ARG}" bin/console doctrine:fixtures:load "${ENV_ARG}"
"${PHP_ARG}" bin/console cocorico:currency:update "${ENV_ARG}"

0 comments on commit 63d20bc

Please sign in to comment.