mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
d8d24faf9c
ELIXIR_LIB_ROOT is the default Elixir library path in LOCALBASE. If MIX_REWRITE is defined, all optional dependencies will be stripped out (test, doc, etc.), while all required libs will be converted to actual code paths in ELIXIR_LIB_ROOT. For example, it will turn the following dependency definitions: defp deps do [ { :inflex, "~> 1.0" }, { :estree, "~> 2.0" }, { :shouldi, only: :test }, { :earmark, "~> 0.1", only: :dev }, { :ex_doc, "~> 0.7", only: :dev } ] end into these: defp deps do [ { :inflex, path: "/usr/local/lib/elixir/lib/inflex", compile: false }, { :estree, path: "/usr/local/lib/elixir/lib/estree", compile: false }, ] end Setting MIX_REWRITE allows escriptize to bundle all dependencies in the script, else it will not be able to pull them from the usual code path. It already works for all Elixir ports and should make patches to mix.exs unnecessary, but for now the default is off. Sneak in a whitespace fix while I'm here. |
||
---|---|---|
.. | ||
Scripts | ||
Uses | ||
bsd.apache.mk | ||
bsd.autotools.mk | ||
bsd.ccache.mk | ||
bsd.commands.mk | ||
bsd.database.mk | ||
bsd.default-versions.mk | ||
bsd.destdir.mk | ||
bsd.emacs.mk | ||
bsd.fpc.mk | ||
bsd.gcc.mk | ||
bsd.gecko.mk | ||
bsd.gnome.mk | ||
bsd.gstreamer.mk | ||
bsd.java.mk | ||
bsd.kde4.mk | ||
bsd.ldap.mk | ||
bsd.licenses.db.mk | ||
bsd.licenses.mk | ||
bsd.linux-apps.mk | ||
bsd.linux-rpm.mk | ||
bsd.local.mk | ||
bsd.mate.mk | ||
bsd.ocaml.mk | ||
bsd.octave.mk | ||
bsd.openssl.mk | ||
bsd.options.desc.mk | ||
bsd.options.mk | ||
bsd.php.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.qt.mk | ||
bsd.ruby.mk | ||
bsd.sanity.mk | ||
bsd.sdl.mk | ||
bsd.sites.mk | ||
bsd.ssp.mk | ||
bsd.tex.mk | ||
bsd.wx.mk | ||
bsd.xorg.mk |