diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-02 11:12:49 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-02 11:12:49 -0400 |
commit | 585ef702ef117232778113efc9979d51549abeeb (patch) | |
tree | 07a618401bc98caeec59f7b81f7d4e45b8b95f3a /grunt.js | |
parent | 83756a1d874823389f6e378ebdce014efe3d9bf7 (diff) | |
download | jquery-ui-585ef702ef117232778113efc9979d51549abeeb.tar.gz jquery-ui-585ef702ef117232778113efc9979d51549abeeb.zip |
Grunt: Copy jquery from root regardless of version; fix include list for minified CSS files.
Diffstat (limited to 'grunt.js')
-rw-r--r-- | grunt.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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", |