php-censor/docs/en/plugins/grunt.md

27 lines
679 B
Markdown
Raw Permalink Normal View History

2016-07-19 11:12:28 +02:00
Plugin Grunt
2017-01-04 13:22:20 +01:00
============
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
This plugin runs [Grunt](http://gruntjs.com/) tasks.
2016-07-19 11:12:28 +02:00
Configuration
2017-01-04 13:22:20 +01:00
-------------
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
### Options
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
- **directory** [string, optional] - The directory in which to run Grunt (defaults to build root.)
2017-07-18 15:54:24 +02:00
- **grunt** [string, optional] - Allows you to provide a path to Grunt (defaults to PHP Censor root, vendor/bin, or a
system-provided Grunt).
2016-07-17 16:20:35 +02:00
- **gruntfile** [string, optional] - Gruntfile to run (defaults to `Gruntfile.js`).
- **task** [string, optional] - The Grunt task to run.
### Example
2016-07-19 11:12:28 +02:00
2016-07-17 16:20:35 +02:00
```yml
test:
grunt:
directory: "path to run grunt in"
grunt: "path to grunt executable"
gruntfile: "gruntfile.js"
task: "css"
```