xward / asn1ex

Elixir Mix task to compile ASN.1 files using erlang's asn1ct and asn1rt.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASN1ex

ASN.1 compiler mix task to generate erlang parser using asn1rt and asn1ct.

Configuration

Add the following line on the project function of mix.exs file:

  • compilers: [:asn1] ++ Mix.compilers

and asn1ex as a dependency:

  • {:asn1ex, git: "git://github.com/vicentfg/asn1ex.git"}

Other configuration options:

  • :asn1_paths - directories to find source files. Defaults to ["asn1"].

  • :erlc_paths - directories to store generated source files. Defaults to ["src"].

  • :asn1_options - compilation options that apply to ASN.1's compiler. There are many other available options here: http://erlang.org/doc/man/asn1ct.html#compile-2.

About

Elixir Mix task to compile ASN.1 files using erlang's asn1ct and asn1rt.


Languages

Language:Elixir 100.0%