Skip to content

Commit

Permalink
Change Grunt config to decouple our build changes from google CI command
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Oct 7, 2012
1 parent e08c15a commit 607ccab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@ module.exports = function(grunt) {
}
});

//register before and after test tasks so we've don't have to change cli options on the goole's CI server
grunt.registerTask('before-test', 'lint');
grunt.registerTask('after-test', 'concat');

// Default task.
grunt.registerTask('default', 'lint test concat');
grunt.registerTask('default', 'before-test test after-test');

// Testacular configuration
var runTestacular = function(command, options) {
Expand Down
2 changes: 1 addition & 1 deletion test/test-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ files = [
'test/lib/angular-1.0.2.js',
'test/lib/angular-1.0.2-mocks.js',
'common/*.js',
'directives/**/*.js',
'directives/**/*.js'
];

// list of files to exclude
Expand Down

0 comments on commit 607ccab

Please sign in to comment.