Change bin directory to bin
This commit is contained in:
parent
9aaf62fce3
commit
26b9e3a84d
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
|||
|
||||
- name: Install Drupal
|
||||
run: >
|
||||
vendor/bin/drush --root=$(pwd)/web
|
||||
bin/drush --root=$(pwd)/web
|
||||
site:install -y
|
||||
--existing-config
|
||||
--db-url=sqlite://sites/default/files/.ht.sqlite
|
||||
|
@ -135,7 +135,7 @@ jobs:
|
|||
if: matrix.test-types == 'functional'
|
||||
|
||||
- name: Execute tests
|
||||
run: vendor/bin/phpunit --testdox --colors=always --testsuite=${{ matrix.test-types }}
|
||||
run: bin/phpunit --testdox --colors=always --testsuite=${{ matrix.test-types }}
|
||||
env:
|
||||
SIMPLETEST_BASE_URL: http://localhost:8000
|
||||
|
||||
|
@ -170,7 +170,7 @@ jobs:
|
|||
run: composer install --prefer-dist --no-interaction --no-suggest
|
||||
|
||||
- name: Run checks
|
||||
run: vendor/bin/phpcs -s --warning-severity=6
|
||||
run: bin/phpcs -s --warning-severity=6
|
||||
|
||||
phpstan:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -203,4 +203,4 @@ jobs:
|
|||
run: composer install --prefer-dist --no-interaction --no-suggest
|
||||
|
||||
- name: Run checks
|
||||
run: vendor/bin/phpstan analyze
|
||||
run: bin/phpstan analyze
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
"prefer-stable": true,
|
||||
"scripts": {},
|
||||
"config": {
|
||||
"bin-dir": "bin",
|
||||
"sort-packages": true
|
||||
},
|
||||
"extra": {
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
name: Drupal cron - oliverdavies.uk
|
||||
minute: '*/5'
|
||||
job: >
|
||||
{{ project_root_path }}/{{ ansistrano_current_dir }}/vendor/bin/drush core-cron
|
||||
{{ project_root_path }}/{{ ansistrano_current_dir }}/bin/drush core-cron
|
||||
--root={{ project_root_path }}/{{ ansistrano_current_dir }}/{{ project_web_dir }}
|
||||
--uri https://www.oliverdavies.uk
|
||||
--quiet
|
||||
|
|
|
@ -16,7 +16,7 @@ app_hash_salt: '{{ vault_app_hash_salt }}'
|
|||
|
||||
zapier_post_tweet_url: '{{ vault_zapier_post_tweet_url }}'
|
||||
|
||||
release_drush_path: '{{ ansistrano_release_path.stdout }}/vendor/bin/drush'
|
||||
release_drush_path: '{{ ansistrano_release_path.stdout }}/bin/drush'
|
||||
release_web_path: '{{ ansistrano_release_path.stdout }}/{{ project_web_dir }}'
|
||||
release_theme_path: '{{ release_web_path }}/themes/custom/opdavies'
|
||||
|
||||
|
|
Loading…
Reference in a new issue