tools_obazl rules

extract

extract(name, obj)

Use cmitomli to extract sigfile from cmi file

ATTRIBUTES:

Name Description Type Mandatory Default

name

A unique name for this target.

Name

required

obj

Label of ocaml_module target. Interface code will be inferred from module output (*.cmo or *.cmx)

Label

required

inspect

inspect(name, obj)

Use ocamlobjinfo to inspect object

ATTRIBUTES:

Name Description Type Mandatory Default

name

A unique name for this target.

Name

required

obj

Label of object to inspect; must be ocaml_module or ocaml_signature target.

Label

required