|
3 年前 | |
---|---|---|
ebin | 3 年前 | |
include | 4 年前 | |
src | 3 年前 | |
.gitignore | 4 年前 | |
LICENSE | 5 年前 | |
Makefile | 5 年前 | |
README.md | 4 年前 | |
bootstrap | 4 年前 | |
bootstrap.bat | 5 年前 | |
eNpc | 3 年前 | |
eNpc.cmd | 4 年前 | |
rebar.config | 5 年前 |
windows linux mac下erlang nif或者port_driver通用编译脚本
改造自 erlang-native-compiler
default_env
make
in this directoryeNpc
to your project "c_src" dir and commit it{pre_hooks, [{"", compile, "escript c_src/eNpc compile"}]}.
{post_hooks, [{"", clean, "escript c_src/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...).