Skip to content

Commit 9af863a

Browse files
committed
break out tasks
1 parent 8c5f066 commit 9af863a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Gruntfile.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ module.exports = function(grunt) {
137137
grunt.loadNpmTasks('grunt-gh-pages');
138138
grunt.loadNpmTasks('grunt-markdown');
139139

140-
// Default task(s)
141-
grunt.registerTask('default', ['connect', 'jshint', 'concat', 'uglify', 'markdown', 'compass', 'watch']);
142-
grunt.registerTask('deploy', ['jshint', 'concat', 'uglify', 'markdown', 'compass', 'gh-pages']);
140+
grunt.registerTask('test', ['jshint']);
141+
grunt.registerTask('build', ['test', 'concat', 'uglify', 'markdown', 'compass']);
142+
grunt.registerTask('develop', ['connect', 'build', 'watch']);
143+
grunt.registerTask('deploy', ['build', 'gh-pages']);
144+
grunt.registerTask('default', ['develop']);
143145

144146
};

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ We'd like to accomplish all of the following charts as directives:
118118
1. Fork & clone
119119
1. `npm install`
120120
1. `grunt` to run development environment
121-
1. ~~Test with `grunt test`~~ (not yet implemented)
121+
1. Test with `grunt test`
122122
1. Open a pull request!
123123

124124
## License

0 commit comments

Comments
 (0)