From 38393ef1190bba2fdce560f8285e4198c471a602 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Dopazo Date: Tue, 17 Dec 2013 15:09:10 -0300 Subject: [PATCH] Add Bower install task to build tasks --- tasks/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/build.js b/tasks/build.js index 80135fd..ee58046 100644 --- a/tasks/build.js +++ b/tasks/build.js @@ -10,9 +10,9 @@ module.exports = function(grunt) { grunt.log.ok('Found GRUNT_SKIP_BUILD in environment, skipping build.'); }); } else { - grunt.registerTask('build', 'Building YUI', ['yogi-build', 'npm']); + grunt.registerTask('build', 'Building YUI', ['bower-install', 'yogi-build', 'npm']); } - grunt.registerTask('build-test', 'Building and testing YUI', ['yogi-build', 'npm', 'test']); + grunt.registerTask('build-test', 'Building and testing YUI', ['bower-install', 'yogi-build', 'npm', 'test']); grunt.registerTask('all', 'Building and testing YUI', ['build-test']); };