Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 568 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 568 Bytes

Erlang nif port compiler

windows linux mac下erlang nif或者port_driver通用编译脚本
改造自 erlang-native-compiler

Usage

default_env

  1. Clone this repository
  2. Run make in this directory
  3. Copy eNpc to your "path" environment variable
  4. Add these (or similar) hooks to your rebar.config:
{pre_hooks, [{"", compile, "eNpc compile"}]}.
{post_hooks, [{"", clean, "eNpc clean"}]}.

After that eNpc should read your old rebar.config port_specs and port_env settings as expected (it is rebar2's port compiler after all...).