mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 07:15:46 +02:00
grunt: add page (#1975)
This commit is contained in:
parent
c53c433b52
commit
0fb3744ddd
1 changed files with 31 additions and 0 deletions
31
pages/common/grunt.md
Normal file
31
pages/common/grunt.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# grunt
|
||||||
|
|
||||||
|
> A JavaScript task runner for automating processes.
|
||||||
|
|
||||||
|
- 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`
|
Loading…
Add table
Reference in a new issue