tsujigiri/axiom

Error with rebar axiom deps

Closed this issue · 1 comments

Hello on MS Windows I get the following error:

c:\erl_apps\myaxion>rebar get-deps
==> myaxion (get-deps)
ERROR: Dependency dir c:/erl_apps/myaxion/deps/axiom failed application validation with reason:
{missing_app_file,"c:/erl_apps/myaxion/deps/axiom"}.

c:\erl_apps\myaxion>rebar get-deps
==> myaxion (get-deps)
Pulling axiom from {git,"git://github.com/tsujigiri/axiom.git",{tag,"0.0.17"}}
Cloning into axiom...
error: pathspec '0.0.17' did not match any file(s) known to git.
ERROR: cmd /q /c git checkout -q 0.0.17 failed with error: 1 and output:
error: pathspec '0.0.17' did not match any file(s) known to git.

after removing the axiom version tag in the rebar.config file like this:

{lib_dirs, ["deps"]}.
{deps, [
    {'axiom', "0.0.17", {git, "git://github.com/tsujigiri/axiom.git"}}
]}.

then everything works fine:

c:\erl_apps\myaxion>rebar get-deps
==> myaxion (get-deps)
Pulling axiom from {git,"git://github.com/tsujigiri/axiom.git"}
Cloning into axiom...
==> Entering directory `c:/erl_apps/myaxion/deps/axiom'
==> axiom (get-deps)
Pulling cowboy from {git,"git://github.com/extend/cowboy.git",{tag,"0.6.1"}}
Cloning into cowboy...
Pulling erlydtl from {git,"git://github.com/evanmiller/erlydtl.git","dda4db0"}
Cloning into erlydtl...
Pulling mimetypes from {git,"git://github.com/spawngrid/mimetypes.git",
                            {tag,"1.0"}}
Cloning into mimetypes...
==> Entering directory `c:/erl_apps/myaxion/deps/cowboy'
==> cowboy (get-deps)
==> Leaving directory `c:/erl_apps/myaxion/deps/cowboy'
==> Entering directory `c:/erl_apps/myaxion/deps/erlydtl'
==> erlydtl (get-deps)
==> Leaving directory `c:/erl_apps/myaxion/deps/erlydtl'
==> Entering directory `c:/erl_apps/myaxion/deps/mimetypes'
==> mimetypes (get-deps)
==> Leaving directory `c:/erl_apps/myaxion/deps/mimetypes'
==> Leaving directory `c:/erl_apps/myaxion/deps/axiom'
c:\erl_apps\myaxion>

Looks like you are missing the v in the version tag: v0.0.17