简体   繁体   English

Erlang和Elixir的包管理

[英]Package management on Erlang and Elixir

I searched for package management on Erlang and Elixir and got some pointers to rebar rebar3 mix hex and relx etc. Can you help clarify the relationships among them? 我搜索了package managementErlangElixir ,并得到一些指针,以rebar rebar3 mix hexrelx等,您可以帮助澄清它们之间的关系? Where to use what? 哪里用什么? Is package just synonym to Erlang's application made up of modules ? package只是Erlang由modules组成的application同义词吗?

A package is synonym to Erlang or Elixir application/ library made up of one or more modules 包是Erlang或Elixir应用程序/库的同义词,由一个或多个模块组成

Hex is currently the preferred package manager for the Erlang ecosystem (ERLANG, LFE, JOXA & ELIXIR) Hex目前是Erlang生态系统的首选软件包管理器(ERLANG,LFE,JOXA和ELIXIR)

rebar3 + hex.pm: For Erlang package management rebar3 uses hex.pm, a package manager for Erlang and Elixir packages. rebar3 + hex.pm:对于Erlang包管理,rebar3使用hex.pm,它是Erlang和Elixir包的包管理器。 more Documentation 更多文档

mix + hex.pm: For Elixir package management mix uses hex.pm, a package manager for Erlang and Elixir packages. mix + hex.pm:对于Elixir包管理混合使用hex.pm,Erlang和Elixir包的包管理器。 more Documentation 更多文档

In addition to everything @byaruhaf mentioned, erlang.mk provides simple package index functionality that allows for basic management of Erlang dependencies. 除了@byaruhaf提到的所有内容之外, erlang.mk还提供了简单的包索引功能,允许对Erlang依赖项进行基本管理。 It's very primitive compared with hex but it might be all you need. 与十六进制相比,它非常原始,但它可能就是你所需要的。 If your already have a Makefile for your project erlang.mk is probably the quickest way to add basic package management functionality to your project. 如果你的项目已经有了一个Makefile,那么erlang.mk可能是向项目中添加基本包管理功能的最快方法。

https://github.com/ninenines/erlang.mk#packages https://github.com/ninenines/erlang.mk#packages

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM