blob: d5d46ac801274e8fc27995945f70df16f52f3002 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*jshint node:true */
module.exports = function( Release ) {
var shell = require( "shelljs" );
Release.define({
npmPublish: true,
issueTracker: "github",
changelogShell: function() {
return "# Changelog for QUnit v" + Release.newVersion + "\n";
},
generateArtifacts: function( done ) {
Release.exec( "grunt", "Grunt command failed" );
shell.mkdir( "-p", "qunit" );
shell.cp( "-r", "dist/*", "qunit/" );
shell.mkdir( "-p", "dist/cdn" );
shell.cp( "dist/qunit.js", "dist/cdn/qunit-" + Release.newVersion + ".js" );
shell.cp( "dist/qunit.css", "dist/cdn/qunit-" + Release.newVersion + ".css" );
done([ "qunit/qunit.js", "qunit/qunit.css" ]);
}
});
};
module.exports.dependencies = [
"shelljs@0.2.6"
];
|