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.
34 lines
532 B
34 lines
532 B
"use strict";
|
|
|
|
const sequential = require('./sequential');
|
|
|
|
module.exports = (params, processor) => sequential({
|
|
tasks: [
|
|
{
|
|
type: "eslintbrowserall",
|
|
params: {
|
|
excludeFiles: params.eslintExcludeFiles
|
|
}
|
|
},
|
|
{
|
|
type: "uglifyjsall"
|
|
},
|
|
{
|
|
type: "cssnanoall"
|
|
},
|
|
{
|
|
type: "writefile",
|
|
params: {
|
|
filename: "version.txt",
|
|
data: processor.context.versionInfo
|
|
}
|
|
},
|
|
{
|
|
type: "zip",
|
|
params: {
|
|
directory: "",
|
|
archive: processor.context.reponame + ".zip"
|
|
}
|
|
}
|
|
]
|
|
}, processor);
|
|
|