diff --git a/Gruntfile.js b/Gruntfile.js index 9841e32..87d1a57 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -131,12 +131,19 @@ module.exports = function (grunt) { port: 9000 } } +// }, +// version: { + // read version from pkg.version + // write it out to: + // - bower.json + // - manifest.appcache (once it exists again) + // - VERSION } }); grunt.loadNpmTasks('grunt-mocha-phantomjs'); // Default task. - grunt.registerTask('default', ['jshint', 'connect', 'mocha_phantomjs', 'clean', 'concat', 'uglify']); + grunt.registerTask('default', ['jshint', 'connect', 'mocha_phantomjs', 'clean', /*'version', */'concat', 'uglify']); grunt.registerTask('buildonly', ['clean', 'concat', 'uglify']); grunt.registerTask('server', function () { grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.');