From e03536290524356616a325d80b784b57cb93bda4 Mon Sep 17 00:00:00 2001
From: Manuel Friedli <manuel@fritteli.ch>
Date: Sun, 18 Jan 2015 17:24:17 +0100
Subject: [PATCH] inserted some commented code in order to remind myself what
 to do about versioning. it's very tedious to maintain the version in 3
 different places, so this needs to be handled by the build process, and one
 and only one source must be provided for the final version string; that is
 probably going to be package.json.

---
 Gruntfile.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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.');