aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-11-14 10:17:18 -0500
committerTimmy Willison <timmywillisn@gmail.com>2013-11-14 10:17:18 -0500
commitac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af (patch)
tree37cdc1694a198b2c4587863c29a455272d13327d /build
parent1a13e0b1adcc7e5f4affa2e64f0533cb76a802b5 (diff)
downloadjquery-ac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af.tar.gz
jquery-ac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af.zip
Use grunt and bower packages as local dependencies. Close gh-1433.
Diffstat (limited to 'build')
-rw-r--r--build/bower-install.js13
-rw-r--r--build/tasks/build.js2
2 files changed, 1 insertions, 14 deletions
diff --git a/build/bower-install.js b/build/bower-install.js
deleted file mode 100644
index 6114c4975..000000000
--- a/build/bower-install.js
+++ /dev/null
@@ -1,13 +0,0 @@
-var which = require( "which" ),
- spawn = require( "child_process" ).spawn;
-
-try {
- which.sync( "bower" );
-} catch( error ) {
- console.error( "Bower must be installed to build jQuery." );
- console.error( "Please install Bower by running the following command:" );
- console.error( "npm install -g bower" );
- process.exit( 0 );
-}
-
-spawn( "bower", [ "install" ], { stdio: "inherit" } );
diff --git a/build/tasks/build.js b/build/tasks/build.js
index 38f60bee4..55ccbe860 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -26,7 +26,7 @@ module.exports = function( grunt ) {
endFile: "src/outro.js"
},
paths: {
- sizzle: "../bower_components/sizzle/dist/sizzle"
+ sizzle: "../bower_modules/sizzle/dist/sizzle"
},
rawText: {},
onBuildWrite: convert