Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyykkis/rebar3_asn1_compiler
Plugin for compiling ASN.1 modules with Rebar3.
https://github.com/pyykkis/rebar3_asn1_compiler
Last synced: about 1 month ago
JSON representation
Plugin for compiling ASN.1 modules with Rebar3.
- Host: GitHub
- URL: https://github.com/pyykkis/rebar3_asn1_compiler
- Owner: pyykkis
- License: mit
- Created: 2015-11-08T16:51:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-03-03T19:43:15.000Z (almost 5 years ago)
- Last Synced: 2024-10-03T18:04:35.668Z (2 months ago)
- Language: Erlang
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Erlang - Plugin for compiling ASN.1 modules with Rebar3. (Build Tools)
- fucking-awesome-elixir - rebar3_asn1_compiler - Plugin for compiling ASN.1 modules with Rebar3. (Build Tools)
- awesome-elixir - rebar3_asn1_compiler - Plugin for compiling ASN.1 modules with Rebar3. (Build Tools)
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](http://www.erlang.org/doc/man/asn1ct.html).
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.