Skip to content

Commit

Permalink
chore(site): rename demo task to the site generation one
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Dec 28, 2012
1 parent e284cde commit 551d796
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ 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 html2js');
grunt.registerTask('after-test', 'find-modules concat');
grunt.registerTask('demo', 'before-test after-test build-demo');
grunt.registerTask('after-test', 'find-modules concat site');

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

//Common ui.bootstrap module containing all modules
grunt.registerTask('find-modules', 'Generate ui.bootstrap module depending on all existing directives', function() {
Expand All @@ -55,7 +54,7 @@ module.exports = function(grunt) {
grunt.config('modules', modules);
});

grunt.registerTask('build-demo', 'Create grunt demo.html from every module\'s files', function() {
grunt.registerTask('site', 'Create grunt demo site from every module\'s files', function() {
this.requires('find-modules concat html2js');

var modules = grunt.file.expandDirs('src/*').map(function(dir) {
Expand Down

0 comments on commit 551d796

Please sign in to comment.