From ac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 14 Nov 2013 10:17:18 -0500 Subject: Use grunt and bower packages as local dependencies. Close gh-1433. --- build/bower-install.js | 13 ------------- build/tasks/build.js | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 build/bower-install.js (limited to 'build') 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 -- cgit v1.2.3