Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Extract version information from VCS (git)
specify git_dir
to prevent git from recursing to the root of filesystem if there is no .git subdirectory
Save extracted version into specified OCaml source file, as let id = <detected version>