Debian Codegraph @

extra/haxelib_src/test/tests/TestGit.hx

raw
1 package tests;
2
3 import sys.FileSystem;
4 import haxelib.client.Vcs;
5
6 class TestGit extends TestVcs {
7 static inline var REPO_PATH = 'test/repo/git';
8
9 static public function init() {
10 HaxelibTests.deleteDirectory(REPO_PATH);
11 HaxelibTests.runCommand('git', ['clone', 'https://github.com/fzzr-/hx.signal.git', REPO_PATH]);
12 }
13
14 public function new():Void {
15 super(VcsID.Git, "Git", FileSystem.fullPath(REPO_PATH), "0.9.2");
16 }
17 }