Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metadata to setup.ml to allow extract it automatically. #562

Open
gildor478 opened this issue Oct 24, 2020 · 0 comments
Open

Add metadata to setup.ml to allow extract it automatically. #562

gildor478 opened this issue Oct 24, 2020 · 0 comments

Comments

@gildor478
Copy link
Member

This feature request has been migrated from artifact #1715 on forge.ocamlcore.org. It was assigned to user100.

user102 posted on 2016-12-09 09:47:06:

Some metadata like the version of OASIS used to generate setup.ml are only available when running setup.ml.

It would be more useful to have structured data that can be extracted using a simple function from the oasis library:

Example:
setup.ml
(* OASIS_START )
(
DO NOT EDIT (digest: 9cd2631a11ff0b2f83c006d35d7a5709) )
(

Regenerated by OASIS v0.4.7
Visit http://oasis.forge.ocamlcore.org for more information and
documentation about functions used in this file.

OASISVersion: 0.4.7 RegenerationDate: 2016-12-06T10:00:00+02:00 ... *)

OASISSetup.Metadata.OASISVersion t -> 0.4.7

user102 replied on 2016-12-09 12:48:57:

Use in oasis2opam to get version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant