b91d086
commit 4078baa997dd599c1f88773543b16d94e82407ba
b91d086
Author: Tom Hughes <tom@compton.nu>
b91d086
Date:   Wed Sep 28 19:50:56 2016 +0100
b91d086
b91d086
    Patch out use of git-rev
b91d086
b91d086
diff --git a/Jakefile.js b/Jakefile.js
b91d086
index 35f4a02..b1f8a94 100644
b91d086
--- a/Jakefile.js
b91d086
+++ b/Jakefile.js
b91d086
@@ -13,8 +13,7 @@ For a custom build, open build/build.html in the browser and follow the instruct
b91d086
 */
b91d086
 
b91d086
 var build = require('./build/build.js'),
b91d086
-    buildDocs = require('./build/docs'),
b91d086
-    git = require('git-rev');
b91d086
+    buildDocs = require('./build/docs');
b91d086
 
b91d086
 function hint(msg, args) {
b91d086
 	return function () {
b91d086
@@ -36,9 +35,7 @@ function calculateVersion(officialRelease, callback) {
b91d086
 	if (officialRelease) {
b91d086
 		callback(version);
b91d086
 	} else {
b91d086
-		git.short(function(str) {
b91d086
-			callback (version + '+' + str);
b91d086
-		});
b91d086
+		throw "git-rev not available";
b91d086
 	}
b91d086
 }
b91d086