Skip to content

RumataEstor/mix_mib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Erlang SNMP MIB compiler for Mix

Build Status

This project provides a Mix compiler that simplifies usage of Erlang SNMP MIB compiler.

Installation

The package can be installed by adding mix_mib to your list of dependencies in mix.exs and by adding :mibs to compilers list:

def project do
  [
    # ...
    compilers: [:mibs | Mix.compilers],
    deps: [
      # ...
      {:mix_mib, "~> 1.0.0", runtime: false},
    ]
  ]
end

The default compiler's behaviour can be modified by putting the following options in the project options:

  • mib_paths (default: ["mibs", "src"]) - source directories for .mib and .func files;
  • mib_output (default: "priv/mibs/") - directory to put compiled .bin file;
  • mib_options (default: [il: ['otp_mibs/priv/mibs/']]) - additional options for the compiler, but outdir and i options will be overriden.

License

MIT

About

Erlang SNMP MIB compiler for Mix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages