mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01:00
Added shellcheck.sh and optimized scripts
This commit is contained in:
parent
69284246aa
commit
dc779808bc
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php /bin/bash)
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
(
|
||||
cd $(dirname $(readlink -f ${0}))/;
|
||||
bash ./copy-configuration.sh
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!/bin/bash
|
||||
echo "Untracked and ignored files will be deleted..."
|
||||
(cd $(dirname $(readlink -f ${0}))/../ && git clean -fXd)
|
||||
(cd $(dirname $(readlink -f ${0}))/../ && git clean -fXd)
|
||||
|
@ -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 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/&& docker-compose exec php composer install && docker-compose exec php composer update)
|
||||
|
@ -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,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
(
|
||||
cd $(dirname $(readlink -f ${0}));
|
||||
bash ./submodule-init.sh
|
||||
|
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php bin/console doctrine:fixtures:load -n)
|
||||
|
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec db mysql -proot -u root)
|
||||
|
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php bin/console debug:router);
|
||||
|
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php bin/console doctrine:schema:update --force)
|
||||
|
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php bin/console doctrine:schema:validate)
|
||||
|
3
administration/shellcheck.sh
Normal file
3
administration/shellcheck.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd $(dirname $(readlink -f ${0}))/;
|
||||
shellcheck ./*.sh
|
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose up -d)
|
||||
|
@ -1 +1,2 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose stop)
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
(
|
||||
cd $(dirname $(readlink -f ${0}))/../;
|
||||
git submodule update --init --recursive
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
(
|
||||
cd $(dirname $(readlink -f ${0}))/../;
|
||||
git submodule sync;
|
||||
|
@ -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,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
(cd $(dirname $(readlink -f ${0}))/ &&
|
||||
bash ./clear.sh &&
|
||||
bash ./schema-validate.sh &&
|
||||
bash ./test.sh &&
|
||||
bash ./test-code-format.sh
|
||||
bash ./test-code-format.sh
|
||||
)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user