mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
Remove hg from integration tests; git is defacto standard at this point
This commit is contained in:
parent
21038d537c
commit
09c7e17e32
6 changed files with 11 additions and 11 deletions
|
@ -1 +1 @@
|
|||
{deps, [{b, "1", {hg, "../repo/b", "tip"}}]}.
|
||||
{deps, [{b, "1", {git, "../repo/b"}}]}.
|
||||
|
|
|
@ -1 +1 @@
|
|||
{deps, [{c, "1", {hg, "../repo/c", "tip"}}]}.
|
||||
{deps, [{c, "1", {git, "../repo/c"}}]}.
|
||||
|
|
|
@ -24,11 +24,11 @@ files() ->
|
|||
].
|
||||
|
||||
run(_Dir) ->
|
||||
%% Initialize the b/c apps as mercurial repos so that dependencies pull
|
||||
%% Initialize the b/c apps as git repos so that dependencies pull
|
||||
%% properly
|
||||
HgCmd = "/bin/sh -c \"hg init && hg add && hg commit -m 'Initial commit'\"",
|
||||
{ok, _} = retest_sh:run(HgCmd, [{dir, "repo/b"}]),
|
||||
{ok, _} = retest_sh:run(HgCmd, [{dir, "repo/c"}]),
|
||||
GitCmd = "/bin/sh -c \"git init && git add -A && git commit -a -m 'Initial commit'\"",
|
||||
{ok, _} = retest_sh:run(GitCmd, [{dir, "repo/b"}]),
|
||||
{ok, _} = retest_sh:run(GitCmd, [{dir, "repo/c"}]),
|
||||
|
||||
{ok, _} = retest_sh:run("./rebar get-deps compile", []),
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
{deps, [{b, "1", {hg, "../repo/b", "tip"}}]}.
|
||||
{deps, [{b, "1", {git, "../repo/b"}}]}.
|
||||
|
|
|
@ -1 +1 @@
|
|||
{deps, [{c, "1", {hg, "../repo/c", "tip"}}]}.
|
||||
{deps, [{c, "1", {git, "../repo/c"}}]}.
|
||||
|
|
|
@ -34,9 +34,9 @@ files() ->
|
|||
run(_Dir) ->
|
||||
%% Initialize the b/c apps as mercurial repos so that dependencies pull
|
||||
%% properly
|
||||
HgCmd = "/bin/sh -c \"hg init && hg add && hg commit -m 'Initial commit'\"",
|
||||
{ok, _} = retest_sh:run(HgCmd, [{dir, "repo/b"}]),
|
||||
{ok, _} = retest_sh:run(HgCmd, [{dir, "repo/c"}]),
|
||||
GitCmd = "/bin/sh -c \"git init && git add -A && git commit -a -m 'Initial commit'\"",
|
||||
{ok, _} = retest_sh:run(GitCmd, [{dir, "repo/b"}]),
|
||||
{ok, _} = retest_sh:run(GitCmd, [{dir, "repo/c"}]),
|
||||
|
||||
{ok, _} = retest_sh:run("./rebar -v get-deps compile", []),
|
||||
ok.
|
||||
|
|
Loading…
Reference in a new issue