mix ieee1164.compile (ieee1164 v0.2.0)

Copy Markdown

Parses each section of the ieee1164 yarn into an %Artefact{} and serialises it to priv/artefacts/<section>.bin using :erlang.term_to_binary/1.

Also writes the fully combined ieee1164.bin.

Run mix ieee1164.gen_uuids only when you add new nodes to the yarn; it preserves existing UUIDs. mix ieee1164.compile is reproducible — artefact identity is derived deterministically from section titles, so recompiling unchanged yarn yields byte-identical artefacts and only the .bin files whose section actually changed show up in the diff:

mix ieee1164.gen_uuids   # only after adding new nodes
mix ieee1164.compile

Commit the .bin files so livebooks and other consumers can load artefacts directly without re-parsing. When a registry or Artefactory service is available, this step becomes a push rather than a file write.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.