开发者

How to create a rebar repo?

开发者 https://www.devze.com 2023-04-02 01:22 出处:网络
I want to build and deploy erlang files which will then be used as a dependency in another project. Es开发者_如何转开发sentially I am looking for the equivalent of mvn deploy and a sonatype repo. How

I want to build and deploy erlang files which will then be used as a dependency in another project. Es开发者_如何转开发sentially I am looking for the equivalent of mvn deploy and a sonatype repo. How would I set this up with rebar?


In order to create a dependency which rebar can understand, you need to have a .app.src file in a src directory. Take a look at estring - there I have the file src/estring.app.src along with my actual source file. In another project which requires estring I would have something like this in my rebar.config:

{deps, [{estring, ".", {git, "git://github.com/dweldon/estring.git", "HEAD"}},
...
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号