extra/haxelib_src/test/tests/TestHg.hx
raw| 1 | package tests; |
| 2 | |
| 3 | import sys.FileSystem; |
| 4 | import haxelib.client.Vcs; |
| 5 | |
| 6 | class TestHg extends TestVcs { |
| 7 | static inline var REPO_PATH = 'test/repo/hg'; |
| 8 | |
| 9 | static public function init() { |
| 10 | HaxelibTests.deleteDirectory(REPO_PATH); |
| 11 | HaxelibTests.runCommand('hg', ['clone', 'https://bitbucket.org/fzzr/hx.signal', REPO_PATH]); |
| 12 | } |
| 13 | |
| 14 | public function new():Void { |
| 15 | super(VcsID.Hg, "Mercurial", FileSystem.fullPath(REPO_PATH), "78edb4b"); |
| 16 | } |
| 17 | } |