Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Processing .app files

ferd edited this page Oct 23, 2014 · 2 revisions

Rebar processes the project's .app.src (or .app.src.script) file into an .app file, filling in important pieces of information:

  • the module list

    The list is filled with all the modules in ebin.

  • the application version

    The version is processed as specified in Processing versions in configuration files

  • replace configuration with external data (app_vars_file)

    If the configuration specifies an app_vars_file, it will be loaded and the values defined there replace the ones in .app.src. The app_vars file is loaded with file:consult/1 and should list the different values as separate expressions separated by full stops.

    A use-case where this is useful would be nice here.