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.
micro-build-server/BuildServer/lib/tasks/packform.js

35 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);