Added shellcheck.sh and optimized scripts

This commit is contained in:
Kevin Frantz committed 2019-01-05 11:58:41 +01:00
1 parent 69284246aa
commit dc779808bc
21 files changed
+23

No files matched your search

+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php /bin/bash)
+1
View File
@@ -1,3 +1,4 @@
#!/bin/bash
(
cd $(dirname $(readlink -f ${0}))/;
bash ./copy-configuration.sh
+1
View File
@@ -1,2 +1,3 @@
#!/bin/bash
echo "Untracked and ignored files will be deleted..."
(cd $(dirname $(readlink -f ${0}))/../ && git clean -fXd)
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php /var/www/symfony/bin/console cache:clear && docker-compose exec php php /var/www/symfony/bin/console cache:clear --env=prod)
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/&& docker-compose exec php composer install && docker-compose exec php composer update)
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php vendor/bin/php-cs-fixer fix .)
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php -d memory_limit=128M /var/www/symfony/vendor/bin/phpunit --coverage-html var/test-coverage-report)
+1
View File
@@ -1,3 +1,4 @@
#!/bin/bash
(
cd $(dirname $(readlink -f ${0}));
bash ./submodule-init.sh
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php bin/console doctrine:fixtures:load -n)
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec db mysql -proot -u root)
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php bin/console debug:router);
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php bin/console doctrine:schema:update --force)
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php bin/console doctrine:schema:validate)
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
cd $(dirname $(readlink -f ${0}))/;
shellcheck ./*.sh
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose up -d)
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose stop)
+1
View File
@@ -1,3 +1,4 @@
#!/bin/bash
(
cd $(dirname $(readlink -f ${0}))/../;
git submodule update --init --recursive
+1
View File
@@ -1,3 +1,4 @@
#!/bin/bash
(
cd $(dirname $(readlink -f ${0}))/../;
git submodule sync;
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ./src)
+1
View File
@@ -1,3 +1,4 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/ &&
bash ./clear.sh &&
bash ./schema-validate.sh &&
+1
View File
@@ -1 +1,2 @@
#!/bin/bash
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php -d memory_limit=128M /var/www/symfony/vendor/bin/phpunit)