2018-02-09 09:56:45 +00:00
|
|
|
# grunt
|
|
|
|
|
|
|
|
> A JavaScript task runner for automating processes.
|
2019-05-14 17:06:07 +01:00
|
|
|
> Homepage: <https://github.com/gruntjs/grunt-cli>.
|
2018-02-09 09:56:45 +00:00
|
|
|
|
|
|
|
- Run the default task process:
|
|
|
|
|
|
|
|
`grunt`
|
|
|
|
|
|
|
|
- Run one or more specific space-separated task(s):
|
|
|
|
|
|
|
|
`grunt {{task_name}}`
|
|
|
|
|
|
|
|
- Specify an alternative configuration file:
|
|
|
|
|
|
|
|
`grunt --gruntfile {{path/to/file}}`
|
|
|
|
|
|
|
|
- Specify an alternative base path for relative files:
|
|
|
|
|
|
|
|
`grunt --base {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Specify an additional directory to scan for tasks in:
|
|
|
|
|
|
|
|
`grunt --tasks {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Perform a dry-run without writing any files:
|
|
|
|
|
|
|
|
`grunt --no-write`
|
|
|
|
|
|
|
|
- List all available options:
|
|
|
|
|
|
|
|
`grunt --help`
|