add new chinese translations
This commit is contained in:
32
pages.zh/common/grunt.md
Normal file
32
pages.zh/common/grunt.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# grunt
|
||||
|
||||
> 一个用于自动化流程的 JavaScript 任务运行器。
|
||||
> 更多信息:<https://github.com/gruntjs/grunt-cli>。
|
||||
|
||||
- 运行默认任务流程:
|
||||
|
||||
`grunt`
|
||||
|
||||
- 运行一个或多个任务:
|
||||
|
||||
`grunt {{task1 task2 ...}}`
|
||||
|
||||
- 指定一个替代的配置文件:
|
||||
|
||||
`grunt --gruntfile {{path/to/file}}`
|
||||
|
||||
- 为相对文件指定一个替代的基础路径:
|
||||
|
||||
`grunt --base {{path/to/directory}}`
|
||||
|
||||
- 指定一个额外的目录以扫描任务:
|
||||
|
||||
`grunt --tasks {{path/to/directory}}`
|
||||
|
||||
- 执行一次干运行,不写入任何文件:
|
||||
|
||||
`grunt --no-write`
|
||||
|
||||
- 显示帮助信息:
|
||||
|
||||
`grunt --help`
|
Reference in New Issue
Block a user