diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2013-03-02 08:20:55 -0700 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2013-03-02 08:22:09 -0700 |
commit | 09c7e17e320b742e2db795fd2056a8570a1a7418 (patch) | |
tree | ac798e150a701af638713081cec6b659051b6fb2 /inttest | |
parent | 21038d537c3fa39bacd38797487fbf5e4b5c0b61 (diff) |
Remove hg from integration tests; git is defacto standard at this point
Diffstat (limited to 'inttest')
-rw-r--r-- | inttest/tdeps1/a.rebar.config | 2 | ||||
-rw-r--r-- | inttest/tdeps1/b.rebar.config | 2 | ||||
-rw-r--r-- | inttest/tdeps1/tdeps1_rt.erl | 8 | ||||
-rw-r--r-- | inttest/tdeps2/a.rebar.config | 2 | ||||
-rw-r--r-- | inttest/tdeps2/b.rebar.config | 2 | ||||
-rw-r--r-- | inttest/tdeps2/tdeps2_rt.erl | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/inttest/tdeps1/a.rebar.config b/inttest/tdeps1/a.rebar.config index 01609ee..991ea5a 100644 --- a/inttest/tdeps1/a.rebar.config +++ b/inttest/tdeps1/a.rebar.config @@ -1 +1 @@ -{deps, [{b, "1", {hg, "../repo/b", "tip"}}]}. +{deps, [{b, "1", {git, "../repo/b"}}]}. diff --git a/inttest/tdeps1/b.rebar.config b/inttest/tdeps1/b.rebar.config index 59c8987..ffbd0db 100644 --- a/inttest/tdeps1/b.rebar.config +++ b/inttest/tdeps1/b.rebar.config @@ -1 +1 @@ -{deps, [{c, "1", {hg, "../repo/c", "tip"}}]}. +{deps, [{c, "1", {git, "../repo/c"}}]}. diff --git a/inttest/tdeps1/tdeps1_rt.erl b/inttest/tdeps1/tdeps1_rt.erl index 43184c6..9f21c81 100644 --- a/inttest/tdeps1/tdeps1_rt.erl +++ b/inttest/tdeps1/tdeps1_rt.erl @@ -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", []), diff --git a/inttest/tdeps2/a.rebar.config b/inttest/tdeps2/a.rebar.config index 01609ee..991ea5a 100644 --- a/inttest/tdeps2/a.rebar.config +++ b/inttest/tdeps2/a.rebar.config @@ -1 +1 @@ -{deps, [{b, "1", {hg, "../repo/b", "tip"}}]}. +{deps, [{b, "1", {git, "../repo/b"}}]}. diff --git a/inttest/tdeps2/b.rebar.config b/inttest/tdeps2/b.rebar.config index 59c8987..ffbd0db 100644 --- a/inttest/tdeps2/b.rebar.config +++ b/inttest/tdeps2/b.rebar.config @@ -1 +1 @@ -{deps, [{c, "1", {hg, "../repo/c", "tip"}}]}. +{deps, [{c, "1", {git, "../repo/c"}}]}. diff --git a/inttest/tdeps2/tdeps2_rt.erl b/inttest/tdeps2/tdeps2_rt.erl index bad546e..dca5f03 100644 --- a/inttest/tdeps2/tdeps2_rt.erl +++ b/inttest/tdeps2/tdeps2_rt.erl @@ -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. |