/mix_bitbake

Generates a bitbake recipe from Elixir application.

Primary LanguageElixirApache License 2.0Apache-2.0

Mix Bitbake Task

Hex.pm

Generate BitBake recipes utilizing the classes from meta-erlang Yocto Project/OE layer.

Check out the meta-erlang documentation to get a full picture about how to use the mix bitbake task.

Installation

The package can be installed by adding mix_bitbake to your list of dependencies in mix.exs:

def deps do
  [
    {:mix_bitbake, "~> 0.1.0", only: :dev, runtime: false}
  ]
end

Use

Then just call the bitbake plugin directly in an existing application:

$ mix bitbake

Important: make sure that the existing application has hex publish package configured, even if the target application does not use hex.pm. The mix bitbake task relies on the package project field to get all the necessary data.

License

Apache 2 License