aboutsummaryrefslogtreecommitdiff
path: root/src/GitRepo.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/GitRepo.js')
-rw-r--r--src/GitRepo.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/GitRepo.js b/src/GitRepo.js
deleted file mode 100644
index d7e19a7..0000000
--- a/src/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;
-}