gasche / manual-ocamlbuild

A new reference manual for the ocamlbuild tool
Other
67 stars 15 forks source link

list of available tags #8

Closed nilsbecker closed 9 years ago

nilsbecker commented 9 years ago

just as a general feedback on what i found missing in the ocamlbuild documentation personally: i wanted to quickly write a _tags file to state the necessary packages and maybe to switch between debugging builds and regular ones. i remember being frustrated at not finding a good quick overview of all available tags in a prominent place. it would be good to have that.

gasche commented 9 years ago

Thanks, that is very useful feedback. Note that you can use ocamlbuild -documentation to have a list of the non-parametrized tags the tool knows about (it will also tell you about the tags installed locally by myocamlbuild.ml, which is useful). It does not work for parametrized tags (and I'm not quite sure how to solve that), so a centralized listing would still be useful.

gasche commented 9 years ago

I think that the Tags reference documentation now solves this problem. Of course, with user-defined plugins, there may be many other tags available to a given project, which still makes ocamlbuild -documentation more useful.