aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorKen Sheedlo2013-07-30 15:25:54 -0700
committerKen Sheedlo2013-07-30 17:31:35 -0700
commitaa5a16224bb4e19f44fafebaf04ece7665d5ad5b (patch)
tree8944e15f92f9a6d588eee115f5fec3ae05bc4544 /Gruntfile.js
parenta7ae292e39713cb351431b5a430f7fa721019e32 (diff)
downloadangular.js-aa5a16224bb4e19f44fafebaf04ece7665d5ad5b.tar.bz2
chore(bower): write grunt task for running bower
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js17
1 files changed, 2 insertions, 15 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index af04aca8..014fb8cd 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -10,7 +10,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-jasmine-node');
grunt.loadNpmTasks('grunt-ddescribe-iit');
grunt.loadNpmTasks('grunt-merge-conflict');
- grunt.loadNpmTasks('grunt-shell');
grunt.loadNpmTasks('grunt-parallel');
grunt.loadTasks('lib/grunt');
@@ -102,18 +101,6 @@ module.exports = function(grunt) {
clean: {build: ['build']},
- shell: {
- bower: {
- command: 'node ./node_modules/bower/bin/bower install',
- options: {
- stdout: true,
- stderr: true,
- failOnError: true
- }
- }
- },
-
-
build: {
scenario: {
dest: 'build/angular-scenario.js',
@@ -245,10 +232,10 @@ module.exports = function(grunt) {
//alias tasks
grunt.registerTask('test:unit', ['test:jqlite', 'test:jquery', 'test:modules']);
grunt.registerTask('test:docgen', ['jasmine-node']);
- grunt.registerTask('minify', ['shell:bower','clean', 'build', 'minall']);
+ grunt.registerTask('minify', ['bower','clean', 'build', 'minall']);
grunt.registerTask('test:e2e', ['connect:testserver', 'test:end2end']);
grunt.registerTask('webserver', ['connect:devserver']);
- grunt.registerTask('package', ['shell:bower','clean', 'buildall', 'minall', 'collect-errors', 'docs', 'copy', 'write', 'compress']);
+ grunt.registerTask('package', ['bower','clean', 'buildall', 'minall', 'collect-errors', 'docs', 'copy', 'write', 'compress']);
grunt.registerTask('ci-checks', ['ddescribe-iit', 'merge-conflict']);
grunt.registerTask('default', ['package']);
};