Skip to content

Rebar and OTP conventions

tuncer edited this page Jan 29, 2011 · 1 revision

Conventions

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

  • application directory with the following sub-directories
    • src
    • ebin
    • priv
    • include
  • application resource file: ebin/project.app or src/project.app.src

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
Clone this wiki locally