-
Notifications
You must be signed in to change notification settings - Fork 49
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.pm package doesn't include Makefile #41
Comments
This is strange. As I understand it, "Makefile" is part of the default list of files picked up by hex. https://github.com/inaka/hexer/blob/master/src/hexer_package.erl#L110 |
Ah, not in rebar3_hex: https://github.com/hexpm/rebar3_hex/blob/master/src/rebar3_hex.hrl#L3 |
@uwiger will you re-publish it? |
I have verified visually that |
Version 1.8.3 published in hex. |
Thank you. I'm testing it now:
|
Ah, looks that in case of But it fails with |
I checked that setup itself compiles with rebar2 and rebar3. uwpro-2:p1 uwiger$ mix deps.get
Resolving Hex dependencies...
Dependency resolution completed:
setup 1.8.3
* Getting setup (Hex package)
Checking package (https://repo.hex.pm/tarballs/setup-1.8.3.tar)
Fetched package
uwpro-2:p1 uwiger$ mix compile
==> setup (compile)
Compiled src/setup_lib.erl
Compiled src/setup_sup.erl
Compiled src/setup_srv.erl
Compiled src/setup_app.erl
Compiled src/setup_gen.erl
Compiled src/setup.erl
/Users/uwiger/lib/otp/18.3/bin/rebar skip_deps=true escriptize
==> setup (escriptize)
Compiled lib/p1.ex
Generated p1 app
Consolidated List.Chars
Consolidated Collectable
Consolidated String.Chars
Consolidated Enumerable
Consolidated IEx.Info
Consolidated Inspect |
Can you show |
mix.lock: %{"setup": {:hex, :setup, "1.8.3", "039c51ad715ead4682d63e6462b3e89efa812f02668ac08bcedfb2360d67282c", [], [], "hexpm"}} $ mix -v
Mix 1.2.5 (that was the version installed by Homebrew) |
I could reproduce the problem with version 1.5.1. Analyzing now. |
In your case Also, with Elixir 1.4.5
I can change |
So far, it seems as if this advice is the best way forward. The problem seems related to the rebar3 'bare' mode. |
Maybe temporary comment these lines or add some checks for mix? |
Addressing this in rebar3 would feel much better. ;-) |
I've commented on a related issue in rebar3: |
Pushed 1.8.4 to hex |
Works for me. Thank you. |
Very good. Thanks! |
Makefile is required on build step for
post_hooks
.https://s3.amazonaws.com/s3.hex.pm/tarballs/setup-1.8.2.tar
The text was updated successfully, but these errors were encountered: