aboutsummaryrefslogtreecommitdiff
path: root/qbs
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-03-23 13:30:29 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-03-23 13:30:29 +0100
commit3149525c2bb845b5440c9749acded484d009e6ac (patch)
treedd8b69183b067f24057728ace06b25f707cce5f8 /qbs
parentBlocker fixes (diff)
downloadsmolbote-3149525c2bb845b5440c9749acded484d009e6ac.tar.xz
Rewrote the pre-commit hook into Ruby
Diffstat (limited to 'qbs')
-rw-r--r--qbs/GitRepo.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/qbs/GitRepo.js b/qbs/GitRepo.js
deleted file mode 100644
index d7e19a7..0000000
--- a/qbs/GitRepo.js
+++ /dev/null
@@ -1,15 +0,0 @@
-var Process = loadExtension("qbs.Process")
-
-function read(workingDirectory) {
- var git = new Process();
- git.setWorkingDirectory(workingDirectory);
-
- var meta = Object.create(null);
- git.exec("git", ["describe", "--abbrev=0", "--tag"], true);
- meta.version = git.readLine();
-
- git.exec("git", ["describe", "--tag"], true);
- meta.describe = git.readLine();
-
- return meta;
-}