mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Build: Adding missing require in build.js and add buid/tasks/*.js to lint.
This commit is contained in:
parent
4866182dee
commit
a59c896b54
@ -1,5 +1,7 @@
|
||||
module.exports = function( grunt ) {
|
||||
|
||||
var path = require( "path" );
|
||||
|
||||
grunt.registerMultiTask( "copy", "Copy files to destination folder and replace @VERSION with pkg.version", function() {
|
||||
function replaceVersion( source ) {
|
||||
return source.replace( /@VERSION/g, grunt.config( "pkg.version" ) );
|
||||
|
2
grunt.js
2
grunt.js
@ -293,7 +293,7 @@ grunt.initConfig({
|
||||
// TODO remove items from this list once rewritten
|
||||
return !( /(mouse|datepicker|draggable|droppable|resizable|selectable|sortable)\.js$/ ).test( file );
|
||||
}),
|
||||
grunt: "grunt.js",
|
||||
grunt: [ "grunt.js", "build/tasks/*.js" ],
|
||||
tests: "tests/unit/**/*.js"
|
||||
},
|
||||
csslint: {
|
||||
|
Loading…
Reference in New Issue
Block a user