Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
# remove files / floders | ||
# 删除文件或文件夹 remove files / floders | ||
### 任务demo | ||
```js | ||
module.exports = { | ||
"tasks": { | ||
// 删除 publish.zip 和 public 目录 | ||
"task1": { | ||
"cmd": "clean", | ||
"source": ["../publish.zip", "public/"] | ||
} | ||
} | ||
} | ||
``` | ||
|
||
### 命令参数说明 | ||
无配置参数 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
# combine files into one | ||
# 合并文件 combine files into one | ||
### 任务demo | ||
```js | ||
module.exports = { | ||
"tasks": { | ||
// 将 js 目录下所有 js 文件合并成 nopo_concat.js | ||
"task1": { | ||
"cmd": "concat", | ||
"source": "js/*.js", | ||
"target": "js/nopo_concat.js" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
### 命令参数说明 | ||
无配置参数 |