2018-02-09 09:56:45 +00:00
|
|
|
# grunt
|
|
|
|
|
|
|
|
> A JavaScript task runner for automating processes.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://github.com/gruntjs/grunt-cli>.
|
2018-02-09 09:56:45 +00:00
|
|
|
|
|
|
|
- Run the default task process:
|
|
|
|
|
|
|
|
`grunt`
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- Run one or more tasks:
|
2018-02-09 09:56:45 +00:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`grunt {{task1 task2 ...}}`
|
2018-02-09 09:56:45 +00:00
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
2024-01-30 04:55:24 +00:00
|
|
|
- Display help:
|
2018-02-09 09:56:45 +00:00
|
|
|
|
|
|
|
`grunt --help`
|