Blob Blame History Raw
commit 4078baa997dd599c1f88773543b16d94e82407ba
Author: Tom Hughes <tom@compton.nu>
Date:   Wed Sep 28 19:50:56 2016 +0100

    Patch out use of git-rev

diff --git a/Jakefile.js b/Jakefile.js
index 35f4a02..b1f8a94 100644
--- a/Jakefile.js
+++ b/Jakefile.js
@@ -13,8 +13,7 @@ For a custom build, open build/build.html in the browser and follow the instruct
 */
 
 var build = require('./build/build.js'),
-    buildDocs = require('./build/docs'),
-    git = require('git-rev');
+    buildDocs = require('./build/docs');
 
 function hint(msg, args) {
 	return function () {
@@ -36,9 +35,7 @@ function calculateVersion(officialRelease, callback) {
 	if (officialRelease) {
 		callback(version);
 	} else {
-		git.short(function(str) {
-			callback (version + '+' + str);
-		});
+		throw "git-rev not available";
 	}
 }