Skip to content

Erlang Nif or port_driver generic compilation scripts for Windows Linux Mac

License

Notifications You must be signed in to change notification settings

ErlGameWorld/eNpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...).

About

Erlang Nif or port_driver generic compilation scripts for Windows Linux Mac

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages