Skip to content

Commit cb860b0

Browse files
committed
Added excluding of more files in .gitattributes.
1 parent 879a8a1 commit cb860b0

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# composer.dev.json export-ignore
1515
# package-lock.json export-ignore
1616
# package.json export-ignore
17+
# patches export-ignore
1718
# phpcs.xml export-ignore
1819
# phpmd.xml export-ignore
1920
# phpstan.neon export-ignore

.scaffold/tests/bats/_assert_init.bash

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ assert_composer_archive() {
8585

8686
# Add files not included in the project, but supported by the scripts.
8787
touch .skip_npm_build
88+
mkdir patches
89+
touch patches/patch1.patch
8890

8991
# Archive the project using Composer.
9092
archive_file_no_ext="force_crystal-1.x-dev"

init.sh

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ process_internal() {
186186
uncomment_line ".gitattributes" ".twig-cs-fixer.php"
187187
uncomment_line ".gitattributes" "Makefile"
188188
uncomment_line ".gitattributes" "composer.dev.json"
189+
uncomment_line ".gitattributes" "patches"
189190
uncomment_line ".gitattributes" "package-lock.json"
190191
uncomment_line ".gitattributes" "package.json"
191192
uncomment_line ".gitattributes" "phpcs.xml"

phpunit.d10.xml

-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
<ini name="error_reporting" value="24575"/>
2121
<!-- Do not limit the amount of memory tests take to run. -->
2222
<ini name="memory_limit" value="-1"/>
23-
<!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
2423
<env name="SIMPLETEST_BASE_URL" value="http://localhost:8000"/>
25-
<!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
2624
<env name="SIMPLETEST_DB" value="sqlite://localhost/drupal_test_extension.sqlite"/>
2725
<!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /path/to/webroot/sites/simpletest/browser_output -->
2826
<!-- In Drupal < 11, the location for the HTML files is hardcoded to

phpunit.xml

-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<ini name="error_reporting" value="24575"/>
2626
<!-- Do not limit the amount of memory tests take to run. -->
2727
<ini name="memory_limit" value="-1"/>
28-
<!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
2928
<env name="SIMPLETEST_BASE_URL" value="http://localhost:8000"/>
30-
<!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/database_name#table_prefix -->
3129
<env name="SIMPLETEST_DB" value="sqlite://localhost/drupal_test_extension.sqlite"/>
3230
<!-- By default, browser tests will output links that use the base URL set
3331
in SIMPLETEST_BASE_URL. However, if your SIMPLETEST_BASE_URL is an internal

0 commit comments

Comments
 (0)