New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hex package broken #251
Comments
Uhu.. thanks for the heads up, I'll take a look.. |
I've pushed a new release, 0.12.1, with the extraneous files removed.
Whereas it with rebar3 works as expected:
|
An issue that still exists is Note that Also, the issue I see is when using erlydtl as a hex dep of a project built with rebar3. When building a checkout of erlydtl itself with rebar3 it works fine. |
Ok, I'm not that familiar with rebar3, nor hex. Any patches to address whatever issues there are, are most welcome ;) |
Well for me the situation is bit ..weird. cat rebar.config: {erl_opts, [debug_info]}.
{deps, [{erlydtl, "0.12.1"}
]}.
{plugins, [
{rebar3_erlydtl_plugin, ".*", {git, "https://github.com/tsloughter/rebar3_erlydtl_plugin.git", {branch, "master"}}}
]}.
{erlydtl_opts, [{source_ext, ".html"},
{module_ext, "_view"},
{auto_escape, false},
{compiler_options, [report, return, debug_info, verbose]},
{force_recompile, true}
]
}.
{provider_hooks, [{pre, [{compile, {erlydtl, compile}}]}
]
}. fxmy@fxmy-N55SF /tmp/huh rebar3 compile
===> Fetching rebar3_erlydtl_plugin ({git,
"https://github.com/tsloughter/rebar3_erlydtl_plugin.git",
{branch,"master"}})
===> Fetching erlydtl ({git,"https://github.com/erlydtl/erlydtl.git",
{branch,"master"}})
===> Compiling erlydtl
===> Compiling rebar3_erlydtl_plugin
===> Verifying dependencies...
===> Fetching erlydtl ({pkg,<<"erlydtl">>,<<"0.12.1">>})
===> Downloaded package, caching at /home/fxmy/.cache/rebar3/hex/default/packages/erlydtl-0.12.1.tar
===> Compiling erlydtl
===> Getting log of git dependency failed in /tmp/huh. Falling back to version 0.0.0
===> Compiling huh
===> Running erlydtl...
fxmy@fxmy-N55SF /tmp/huh ls _build/default/lib/erlydtl/ebin
erlydtl.app erlydtl_compiler_utils.beam erlydtl_filters.beam erlydtl_scanner.beam i18n_manager.beam
erlydtl.beam erlydtl_contrib_humanize.beam erlydtl_library.beam erlydtl_slice.beam po_generator.beam
erlydtl_beam_compiler.beam erlydtl_dateformat.beam erlydtl_parser.beam erlydtl_time_compat.beam po_scanner.beam
erlydtl_compiler.beam erlydtl_deps.beam erlydtl_runtime.beam erlydtl_unparser.beam sources_parser.beam
fxmy@fxmy-N55SF /tmp/huh
fxmy@fxmy-N55SF /tmp/huh rebar3 compile
===> Verifying dependencies...
===> Upgrading erlydtl ({pkg,<<"erlydtl">>,<<"0.12.1">>,
<<"3FDE3190D30340B10CFCFDB4135A828761D468DB4E4B34817C6B91D295F3142D">>})
===> Downloaded package, caching at /home/fxmy/.cache/rebar3/hex/default/packages/erlydtl-0.12.1.tar
===> Compiling huh
===> Running erlydtl...
fxmy@fxmy-N55SF /tmp/huh ls _build/default/lib/erlydtl/ebin
ls: cannot access '_build/default/lib/erlydtl/ebin': No such file or directory
✘ fxmy@fxmy-N55SF /tmp/huh |
Having the same issue for an Elixir project (via Creating a new project via
After
Funny enough, on another project, under same Elixir (v1.3.4) and Erlang (v18.1), the same thing reports with:
I also tried declaring the dependency with One thing I noticed is that after
Note the When referenced via git, e.g. Apologies for not making this a PR but my lack of knowledge about rebar and hex releases kind of prevents it :-) |
Thanks. I'll try to find some time to address this issue. |
@kaos the change for I see Heinz has rights to the package on hex, I can ask him to do it if you want? But it'll need to be a new version, so |
The hex package https://hex.pm/packages/erlydtl 0.12.0 is broken and fails to build but without error. I believe the issue is related to having a
erlydtl.app.src.script
with agit
vsn tag in it... maybe. It is confusing, there seem to be a number of unnecessary files. Likeerlydtl.app.src-e
anderlydtl.app.src.script~
anderlydtl_time_compat.erl~
.The text was updated successfully, but these errors were encountered: