Closed falood closed 7 years ago
@falood Now the latest version now is 2.11.0.
@5HT can you also please push a git tag pointing to the pushed sources?
I tested the new version again and again, but it doesn't works.
Just now, I found the issue: c_src
folder haven't published to hexpm and I have fix it with #36 .
BTW, I think it's better to publish this package with rebar3
.
https://github.com/elixir-lang/elixir/blob/master/lib/mix/lib/mix/tasks/deps.compile.ex#L70-L85
if mix.exs
file in the root path of the project, mix
will be used to compile this project and rebar.confg
will be ignored, so I have to do lots of things to compile it myself if I used it within a project build by mix
.
If you agree this, I'm glad to make another pull request. @5HT
See this for publishing packages using rebar: https://hex.pm/docs/rebar3_publish
Could you please explain me why I need rebar3
, hex
and mix
to publish erlang package? :-)
You don't need mix to publish erlang packages. I don't think you need the package.exs file either.
@davejlong agree, I think rebar3
is enough for a purge erlang developer.
Should work this way: #25
yeah, but fs
is using mad
and we even don't even need rebar to be usable.
$ brew install rebar3
Error: No available formula with the name "rebar3"
no luck :-)
@5HT I believe only rebar3 and mix can push the hex.pm
@5HT Probably this can work:
$ brew install homebrew/versions/rebar3
Oh! Here you go:
bash-3.2$ rebar3 hex user auth
Username: ([])> 5HT
Password:
Generating API key...
bash-3.2$ rebar3 hex publish
===> Verifying dependencies...
Publishing fs 2.12
Description: FS VXZ Listener
Dependencies:
Included files:
/Users/maxim/depot/synrc/fs/LICENSE
/Users/maxim/depot/synrc/fs/README.md
/Users/maxim/depot/synrc/fs/c_src/bsd/main.c
/Users/maxim/depot/synrc/fs/c_src/mac/cli.c
/Users/maxim/depot/synrc/fs/c_src/mac/cli.h
/Users/maxim/depot/synrc/fs/c_src/mac/common.h
/Users/maxim/depot/synrc/fs/c_src/mac/compat.c
/Users/maxim/depot/synrc/fs/c_src/mac/compat.h
/Users/maxim/depot/synrc/fs/c_src/mac/main.c
/Users/maxim/depot/synrc/fs/c_src/windows/ArgumentParser.cs
/Users/maxim/depot/synrc/fs/c_src/windows/Arguments.cs
/Users/maxim/depot/synrc/fs/c_src/windows/AssemblyInfo.cs
/Users/maxim/depot/synrc/fs/c_src/windows/Makefile
/Users/maxim/depot/synrc/fs/c_src/windows/Runner.cs
/Users/maxim/depot/synrc/fs/include/api.hrl
/Users/maxim/depot/synrc/fs/priv/inotifywait.exe
/Users/maxim/depot/synrc/fs/rebar.config
/Users/maxim/depot/synrc/fs/rebar.lock
/Users/maxim/depot/synrc/fs/src/fs.app.src
/Users/maxim/depot/synrc/fs/src/fs.erl
/Users/maxim/depot/synrc/fs/src/fs_app.erl
/Users/maxim/depot/synrc/fs/src/fs_event_bridge.erl
/Users/maxim/depot/synrc/fs/src/fs_server.erl
/Users/maxim/depot/synrc/fs/src/fs_sup.erl
/Users/maxim/depot/synrc/fs/src/sys/fsevents.erl
/Users/maxim/depot/synrc/fs/src/sys/inotifywait.erl
/Users/maxim/depot/synrc/fs/src/sys/inotifywait_win32.erl
/Users/maxim/depot/synrc/fs/src/sys/kqueue.erl
Maintainers:
Maxim Sokhatsky
Vladimir Kirillov
Licenses: ISCL
Links:
Github: https://github.com/synrc/fs
Build tools: rebar3
Before publishing, please read Hex CoC: https://hex.pm/policies/codeofconduct
Proceed? ("Y")> Y
===> Status Code: HTTP status code: 400
Hex Error: Bad request
Cool build stack! :-)
BTW What if I disagree with CoC? Did you see my CoC?
I'm dealing with single TXT file for packages description: http://synrc.com/apps/index.txt
This is how we track dependencies with mad
.
@5HT Does mad have something like own hex?
Your build tools are over-engineered for such a small and beautiful platform as Erlang.
It is not about complaining about your way of doing software.
I just want to show that there obviously some problems with both rebar3
and hex
I can release downloading of binary packages in week-end. Everything is ready, I just don't need it too much: https://github.com/synrc/mad/blob/master/src/sources/mad_synrc.erl#L25
Leave your elixir hipsters and let's built small and elegant way of doing binary packaging :-)
Let's say with hex
support but in more economic and spartan way.
The
fs
package version on hex.pm is still v0.9.2. Could you please do an update?