|
@@ -2,6 +2,10 @@ module.exports = (grunt) ->
|
|
|
|
|
|
|
|
# Project configuration.
|
|
# Project configuration.
|
|
|
grunt.initConfig
|
|
grunt.initConfig
|
|
|
|
|
+ execute:
|
|
|
|
|
+ app:
|
|
|
|
|
+ src: "app.js"
|
|
|
|
|
+
|
|
|
coffee:
|
|
coffee:
|
|
|
client:
|
|
client:
|
|
|
expand: true,
|
|
expand: true,
|
|
@@ -115,9 +119,13 @@ module.exports = (grunt) ->
|
|
|
grunt.loadNpmTasks 'grunt-concurrent'
|
|
grunt.loadNpmTasks 'grunt-concurrent'
|
|
|
grunt.loadNpmTasks 'grunt-mocha-test'
|
|
grunt.loadNpmTasks 'grunt-mocha-test'
|
|
|
grunt.loadNpmTasks 'grunt-plato'
|
|
grunt.loadNpmTasks 'grunt-plato'
|
|
|
|
|
+ grunt.loadNpmTasks 'grunt-execute'
|
|
|
|
|
+ grunt.loadNpmTasks 'grunt-bunyan'
|
|
|
|
|
+
|
|
|
|
|
|
|
|
grunt.registerTask 'compile', ['clean', 'copy', 'coffee', 'less', 'jade', 'requirejs']
|
|
grunt.registerTask 'compile', ['clean', 'copy', 'coffee', 'less', 'jade', 'requirejs']
|
|
|
grunt.registerTask 'install', ['compile']
|
|
grunt.registerTask 'install', ['compile']
|
|
|
|
|
+ grunt.registerTask 'run', ['compile', 'bunyan', 'execute']
|
|
|
grunt.registerTask 'compileAndCompress', ['compile', 'uglify']
|
|
grunt.registerTask 'compileAndCompress', ['compile', 'uglify']
|
|
|
grunt.registerTask 'default', ['compile', 'concurrent']
|
|
grunt.registerTask 'default', ['compile', 'concurrent']
|
|
|
grunt.registerTask 'test:unit', ['compile', 'mochaTest:unit']
|
|
grunt.registerTask 'test:unit', ['compile', 'mochaTest:unit']
|