Skip to content

Commit

Permalink
Issue #12: Add SITE_FOLDER var on the Taskfile.
Browse files Browse the repository at this point in the history
elvism-lullabot committed Oct 15, 2024
1 parent 8660cc8 commit 329eed3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasks/playwright.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ version: '3'

vars:
DOCROOT: '{{ default "web" .DOCROOT }}'
SITE_FOLDER: '{{ default "default" .SITE_FOLDER }}'

tasks:
run:
@@ -68,8 +69,8 @@ tasks:
# downloaded via stage file proxy) saves several seconds.
# Copy in settings.php and our services files.
cp -a {{ .DOCROOT }}/sites/default/*.php {{ .DOCROOT }}/sites/simpletest/{{ shellQuote .test_id }}/
cp -a {{ .DOCROOT }}/sites/default/*.yml {{ .DOCROOT }}/sites/simpletest/{{ shellQuote .test_id }}/
cp -a {{ .DOCROOT }}/sites/{{ .SITE_FOLDER }}/*.php {{ .DOCROOT }}/sites/simpletest/{{ shellQuote .test_id }}/
cp -a {{ .DOCROOT }}/sites/{{ .SITE_FOLDER }}/*.yml {{ .DOCROOT }}/sites/simpletest/{{ shellQuote .test_id }}/
# Copy the database.
cp -a /tmp/sqlite/.ht.sqlite /tmp/sqlite/{{ shellQuote .test_id }}/

0 comments on commit 329eed3

Please sign in to comment.