Skip to content

Commit

Permalink
Added excluding of more files in .gitattributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 12, 2025
1 parent 879a8a1 commit cb860b0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# composer.dev.json export-ignore
# package-lock.json export-ignore
# package.json export-ignore
# patches export-ignore
# phpcs.xml export-ignore
# phpmd.xml export-ignore
# phpstan.neon export-ignore
Expand Down
2 changes: 2 additions & 0 deletions .scaffold/tests/bats/_assert_init.bash
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ assert_composer_archive() {

# Add files not included in the project, but supported by the scripts.
touch .skip_npm_build
mkdir patches
touch patches/patch1.patch

# Archive the project using Composer.
archive_file_no_ext="force_crystal-1.x-dev"
Expand Down
1 change: 1 addition & 0 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ process_internal() {
uncomment_line ".gitattributes" ".twig-cs-fixer.php"
uncomment_line ".gitattributes" "Makefile"
uncomment_line ".gitattributes" "composer.dev.json"
uncomment_line ".gitattributes" "patches"
uncomment_line ".gitattributes" "package-lock.json"
uncomment_line ".gitattributes" "package.json"
uncomment_line ".gitattributes" "phpcs.xml"
Expand Down
2 changes: 0 additions & 2 deletions phpunit.d10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
<ini name="error_reporting" value="24575"/>
<!-- Do not limit the amount of memory tests take to run. -->
<ini name="memory_limit" value="-1"/>
<!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
<env name="SIMPLETEST_BASE_URL" value="http://localhost:8000"/>
<!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
<env name="SIMPLETEST_DB" value="sqlite://localhost/drupal_test_extension.sqlite"/>
<!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /path/to/webroot/sites/simpletest/browser_output -->
<!-- In Drupal < 11, the location for the HTML files is hardcoded to
Expand Down
2 changes: 0 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
<ini name="error_reporting" value="24575"/>
<!-- Do not limit the amount of memory tests take to run. -->
<ini name="memory_limit" value="-1"/>
<!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
<env name="SIMPLETEST_BASE_URL" value="http://localhost:8000"/>
<!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/database_name#table_prefix -->
<env name="SIMPLETEST_DB" value="sqlite://localhost/drupal_test_extension.sqlite"/>
<!-- By default, browser tests will output links that use the base URL set
in SIMPLETEST_BASE_URL. However, if your SIMPLETEST_BASE_URL is an internal
Expand Down

0 comments on commit cb860b0

Please sign in to comment.