Erlang Build Tools--系列4

来源:互联网 发布:excel怎么找出相同数据 编辑:程序博客网 时间:2024/05/01 07:06

转载:https://bitbucket.org/basho/rebar/wiki/Conventions

 

Conventions

Rebar expects projects to follow the OTP conventions as described in theOTP Design Principles:

  • application directory with the following sub-directories
    • src
    • ebin
    • priv
    • include
  • application resource file (.app) to be found in the ebin directory

In addition to the above, rebar presents the following conventions:

  • test directory containing Erlang EUnit test source
  • c_src directory containing C source for building port drivers