mix bb_inference.install (bb_inference v0.1.0)

Copy Markdown View Source

Installs BB.Inference into a robot

  • Adds BB.Inference to the robot's use BB, extensions: [...].
  • Adds the :bb_inference compiler after the project's others, so every build fetches the robot's model artefacts into priv/bb_inference.
  • Ignores priv/bb_inference/ in .gitignore, since it is rebuilt from the declarations.

Running it again changes nothing.

Example

mix igniter.install bb_inference
mix igniter.install bb_inference --robot MyRobot.Robot