You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
710 B
29 lines
710 B
8 years ago
|
"use strict";
|
||
|
|
||
7 years ago
|
import sequential = require("./sequential");
|
||
8 years ago
|
|
||
7 years ago
|
export = (params, processor) => sequential({
|
||
7 years ago
|
"tasks": [
|
||
8 years ago
|
{
|
||
7 years ago
|
"params": { "excludeFiles": params.eslintExcludeFiles },
|
||
|
"type": "eslintbrowserall"
|
||
8 years ago
|
},
|
||
7 years ago
|
{ "type": "uglifyjsall" },
|
||
|
{ "type": "cssnanoall" },
|
||
8 years ago
|
{
|
||
7 years ago
|
"params": {
|
||
|
"data": processor.context.versionInfo,
|
||
|
"filename": "version.txt"
|
||
|
},
|
||
|
"type": "writefile"
|
||
8 years ago
|
},
|
||
|
{
|
||
7 years ago
|
"params": {
|
||
|
"archive": `${processor.context.reponame}.zip`,
|
||
|
"directory": ""
|
||
|
},
|
||
|
"type": "zip"
|
||
8 years ago
|
}
|
||
|
]
|
||
8 years ago
|
}, processor);
|