|
há 4 anos | |
---|---|---|
ebin | há 5 anos | |
include | há 5 anos | |
src | há 4 anos | |
.gitignore | há 5 anos | |
LICENSE | há 5 anos | |
Makefile | há 5 anos | |
README.md | há 5 anos | |
bootstrap | há 5 anos | |
bootstrap.bat | há 5 anos | |
erlNpc | há 5 anos | |
rebar.config | há 5 anos |
windows linux mac下erlang nif或者port_driver通用编译脚本
改造自 erlang-native-compiler
default_env
make
in this directoryerlNpc
to your project "c_src" dir and commit it{pre_hooks, [{"", compile, "escript c_src/erlNpc compile"}]}.
{post_hooks, [{"", clean, "escript c_src/erlNpc clean"}]}.
After that erlNpc should read your old rebar.config port\_specs
and port\_env
settings as expected (it is rebar2's port compiler after all...).