Popularity
0.5
Stable
Activity
0.0
Stable
0
1
1

Monthly Downloads: 8
Programming language: Erlang
License: MIT License
Tags: Build Tools    

rebar3_idl_compiler alternatives and similar packages

Based on the "Build Tools" category.
Alternatively, view rebar3_idl_compiler alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of rebar3_idl_compiler or a related project?

Add another 'Build Tools' Package

README

rebar3_idl_compiler

This is a plugin for compiling Erlang IDL files using Rebar3.

Use

Add the plugin to your rebar config:

    {plugins, [
        {idl, ".*",
         {git,
          "[email protected]:sebastiw/rebar3_idl_compiler.git",
          {branch, "master"}}}
    ]}.

Then just call your plugin directly in an existing application:

$ rebar3 idl compile
===> Fetching idl ({git ...})
===> Compiling idl
<Plugin Output>

There are two options that can be specified in your rebar.config:

    {idl_paths, [Paths]}.
            Path = {file, FilePath, Options} | {file, FilePath} |
                   {dir, Directory, Options} | {dir, Directory}

    {idl_opts, [Options]}.
            Options: Options specified by the ic module, check
                     http://www.erlang.org/doc/man/ic.html for more info.

If the options is not given with the path tuple, then the idl_opts option is used.

Example:

    {idl_opts, [{'Wall', true}]}.
    {idl_paths, [{file, "idl/system.idl", [{outdir, "generated"}]},
                 {dir, "idlfiles"}]}.

In the given example, all *.idl-files found under the path "app_root/idlfiles" would be compiled with the 'Wall' option, while the file "app_root/idl/system.idl" would be compiled into the directory "generated".