mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Grunt: Copy jquery from root regardless of version; fix include list for minified CSS files.
This commit is contained in:
parent
83756a1d87
commit
585ef702ef
6
grunt.js
6
grunt.js
@ -82,7 +82,9 @@ function stripBanner( files ) {
|
||||
}
|
||||
|
||||
function stripDirectory( file ) {
|
||||
return file.replace( /.+\/(.+)$/, "$1" );
|
||||
// TODO: we're receiving the directive, so we need to strip the trailing >
|
||||
// we should be receving a clean path without the directive
|
||||
return file.replace( /.+\/(.+?)>?$/, "$1" );
|
||||
}
|
||||
// allow access from banner template
|
||||
global.stripDirectory = stripDirectory;
|
||||
@ -138,7 +140,7 @@ grunt.initConfig({
|
||||
src: [
|
||||
"AUTHORS.txt",
|
||||
"GPL-LICENSE.txt",
|
||||
"jquery-1.7.1.js",
|
||||
"jquery-*.js",
|
||||
"MIT-LICENSE.txt",
|
||||
"README.md",
|
||||
"grunt.js",
|
||||
|
Loading…
Reference in New Issue
Block a user