diff options
author | TJ VanToll <tj.vantoll@gmail.com> | 2014-02-04 09:16:26 -0500 |
---|---|---|
committer | TJ VanToll <tj.vantoll@gmail.com> | 2014-02-20 09:17:54 -0500 |
commit | d380e07b8f3175c0d198e58cfb998c418ee9d877 (patch) | |
tree | 482153f10af7ef45e6ed7be4cce05fa2b0d8e097 /build/tasks | |
parent | e837d11d6b3c8517e322ded24faaa400443402ef (diff) | |
download | jquery-ui-d380e07b8f3175c0d198e58cfb998c418ee9d877.tar.gz jquery-ui-d380e07b8f3175c0d198e58cfb998c418ee9d877.zip |
Build: Base manifest dependencies off of Bower configuration
Diffstat (limited to 'build/tasks')
-rw-r--r-- | build/tasks/build.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index cdc03bd60..3d399884e 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -32,7 +32,8 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( Object.keys( base ).forEach(function( type ) { var baseManifest = base[ type ], - plugins = grunt.file.readJSON( "build/" + type + ".json" ); + plugins = grunt.file.readJSON( "build/" + type + ".json" ), + bower = grunt.file.readJSON( "bower.json" ); Object.keys( plugins ).forEach(function( plugin ) { var manifest, @@ -62,9 +63,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( docs: data.docs || replace( baseManifest.docs || "http://api.jqueryui.com/{plugin}/" ), download: "http://jqueryui.com/download/", - dependencies: { - jquery: ">=1.6" - }, + dependencies: bower.dependencies, // custom category: data.category || type }; |