drupal-civicrm/sites/all/modules/civicrm/bower_components/jquery-validation/build/release.js

35 lines
747 B
JavaScript
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
/*jshint node:true */
module.exports = function( Release ) {
function today() {
return new Date().toISOString().replace(/T.+/, "");
}
// also add version property to this
Release._jsonFiles.push( "validation.jquery.json" );
Release.define({
issueTracker: "github",
changelogShell: function() {
return Release.newVersion + " / " + today() + "\n==================\n\n";
},
generateArtifacts: function( done ) {
Release.exec( "grunt release", "Grunt command failed" );
done([
"dist/additional-methods.js",
"dist/additional-methods.min.js",
"dist/jquery.validate.js",
"dist/jquery.validate.min.js"
]);
},
// disable CDN publishing
cdnPublish: false,
// disable authors check
_checkAuthorsTxt: function() {}
});
};