Skip to content

Commit

Permalink
Fixing PHPUnit dirs.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Jul 15, 2016
1 parent 20395be commit 06dc3fb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion phing/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ composer:

deploy:
dir: ${repo.root}/deploy
exclude_file: ${repo.root}/build/core/files/deploy-exclude.txt
exclude_file: ${blt.root}/phing/files/deploy-exclude.txt
gitignore_file: ${blt.root}/phing/files/.gitignore

# File and Directory locations.
docroot.relative: ${repo.root.relative}/docroot
Expand Down
2 changes: 1 addition & 1 deletion phing/tasks/deploy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<exec dir="${repo.root}" command="rsync -a --no-g --no-p --delete --delete-excluded --exclude-from=${deploy.exclude_file} ${repo.root}/ ${deploy.dir}/ --filter 'protect /.git/'" logoutput="true" checkreturn="true"/>

<!-- Use our own .gitignore -->
<copy file="${repo.root}/build/core/files/.gitignore" tofile="${deploy.dir}/.gitignore" overwrite="true"/>
<copy file="${deploy.gitignore_file}" tofile="${deploy.dir}/.gitignore" overwrite="true"/>

<!-- Set sites/default back to 755 permissions. -->
<!-- @todo Support multisite. -->
Expand Down
2 changes: 1 addition & 1 deletion phing/tasks/tests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<target name="test" description="Runs all tests." depends="tests:all"></target>

<target name="tests:all" description="Runs all tests, including Behat, PHPUnit, and Security Update check."
depends="tests:security-updates, tests:behat, tests:phpunit"/>
depends="tests:security-updates, tests:phpunit, tests:behat"/>

<!-- If you experience 'Maximum function nesting level' errors in your PHP
error log, set 'xdebug.max_nesting_level=1000' in php.ini. -->
Expand Down
2 changes: 2 additions & 0 deletions scripts/blt/convert-to-composer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ rm -rf build bolt.sh tests/phpunit/blt
./vendor/acquia/blt/blt.sh install-alias
blt init
blt configure

# Move build/custom/files to new locations (e.g., deploy excludes or .gitignores).
6 changes: 3 additions & 3 deletions template/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
"Drupal\\Tests\\PHPUnit\\": "tests/phpunit/src/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"installer-paths": {
"docroot/core": ["type:drupal-core"],
Expand All @@ -67,5 +65,7 @@
"post-update-cmd": [
"PhantomInstaller\\Installer::installPhantomJS"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 06dc3fb

Please sign in to comment.