Grunt-based build and testing tasks for Drupal
npm test
command for running an end-to-end
test on Grunt Drupal Tasks functionality similar to the Travis CI script~0.5.1
version field value.package
task resultsbin/
directory, and use this copy for all Drush operations. To
adopt this practice on existing projects, add the Drush dependency to your
project's composer.json
and specify the path in Gruntconfig.json with: "drush": {
"cmd": "bin/drush"
}
vendor/bundle
.vendor/bin
.
This frees up bin/
for custom project scripts.grunt help
task to be extensible from separate projects.scaffold
task.--concurrency
option from your Gruntconfig. It will no
longer be respected.composer.json
and Gruntconfig.json
have been both updated
to support installing PHP component executables to vendor/bin
instead
of bin
. If you want to continue using bin
, use caution when updating
these files.vendor/bin
from bin
. This change is
intrinsic to v0.6.0. You may need to run rm -Rf .bundle
to clear Bundler
configuration to make way for the new install location.buildPaths
config key. Elements of
buildPaths
added to your project Gruntconfig will override default behavior.grunt help
for project-specific tasks via Gruntconfig.json
removed in favor of new Help API.--notify
option as a converse of --quiet
..editorconfig
to the project example.grunt serve
task to easily install and run the Drupal site without external dependencies like Apache.phplint.dir
setting to Gruntconfig to allow customization of linting paths.grunt validate:newer
to validate only files changed since the last run, and using it for the grunt watch
task for a speed increase!grunt package
to prepare output ready for commit to Acquia- and Pantheon-style release repositories.npm test
will now run tests against D7 and D8.grunt package
no longer compresses by default. Use grunt package:compress
to replicate former behavior.src/libraries
to
build/html/sites/all/libraries
(for D7) or build/html/libraries
(for D8).grunt install
task to easily install the site cleanly or with an
imported database.--no-validate
command line option to skip running the grunt:validate
tasks, including PHPCS and eslint.