|
il y a 3 ans | |
---|---|---|
ebin | il y a 3 ans | |
include | il y a 4 ans | |
src | il y a 3 ans | |
.gitignore | il y a 4 ans | |
LICENSE | il y a 5 ans | |
Makefile | il y a 5 ans | |
README.md | il y a 4 ans | |
bootstrap | il y a 4 ans | |
bootstrap.bat | il y a 5 ans | |
eNpc | il y a 3 ans | |
eNpc.cmd | il y a 4 ans | |
rebar.config | il y a 5 ans |
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...).