Build server prototype (integration with GitHub / NuGet / etc)
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.
|
|
|
"use strict";
|
|
|
|
|
|
|
|
import sequential from "./sequential";
|
|
|
|
|
|
|
|
export default (params, processor) => sequential({
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"params": { "excludeFiles": params.eslintExcludeFiles },
|
|
|
|
"type": "eslintbrowserall"
|
|
|
|
},
|
|
|
|
{ "type": "uglifyjsall" },
|
|
|
|
{ "type": "cssnanoall" },
|
|
|
|
{
|
|
|
|
"params": {
|
|
|
|
"data": processor.context.versionInfo,
|
|
|
|
"filename": "version.txt"
|
|
|
|
},
|
|
|
|
"type": "writefile"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"params": {
|
|
|
|
"archive": `${processor.context.reponame}.zip`,
|
|
|
|
"directory": ""
|
|
|
|
},
|
|
|
|
"type": "zip"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}, processor);
|