Popularity
1.8
Declining
Activity
0.0
Stable
0
2
4

Monthly Downloads: 106
Programming language: Erlang
License: MIT License
Tags: Build Tools    
Latest version: v1.0.0

rebar3_asn1_compiler alternatives and similar packages

Based on the "Build Tools" category

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

Add another 'Build Tools' Package

README

ASN.1 compiler plugin for Rebar3

Plugin for compiling ASN.1 modules with Rebar3.

Installation

Add plugin to your project rebar.config file.

{plugins, [
    { rebar3_asn1_compiler, "1.0.0"}
]}.

Usage

Define ASN.1 compiler options in rebar.config and add output directory to Erlang source directories. Supported options are listed at ASN.1 compiler documentation. In addition, {asndir, "asn1"} can be used for defining the directory containing the ASN.1 modules. The default options are [{asndir, "asn1"}, {outdir, "asn1_gen"}, noobj].

{asn1_opts, [{outdir, "asn1_gen"}, uper]}.
{src_dirs, ["src", "asn1_gen"]}.

Additionally, plugin can be hooked into standard compile and clean commands.

{provider_hooks, [
  {pre,
      [{clean,   {asn1, clean}},
       {compile, {asn1, compile}}]}
]}.

Stand-alone compile and clean commands are defined in asn1 namespace

rebar3 asn1 compile
rebar3 asn1 clean

Contributing

Feel free to send pull requests, feature requests or issue reports.

License

MIT.


*Note that all licence references and agreements mentioned in the rebar3_asn1_compiler README section above are relevant to that project's source code only.