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

MPR#6053: less verbose flags for ocamlbuild #198

Open
damiendoligez opened this issue Mar 1, 2017 · 3 comments
Open

MPR#6053: less verbose flags for ocamlbuild #198

damiendoligez opened this issue Mar 1, 2017 · 3 comments

Comments

@damiendoligez
Copy link
Member

PR transferred from https://caml.inria.fr/mantis/view.php?id=6053
[original reporter: @avsm ]

We're using ocamlbuild and ocamlfind for all of our examples in Real World OCaml, and it's painfully verbose to use:

$ ocamlbuild -use-classic-display -use-ocamlfind -tag thread -pkg core foo.native

...for every single build command. It would be wonderful if a couple of the more frequently used flags could provide shorter alternatives. My ideal command line above would be:

$ ocamlbuild -vf -tag thread -pkg core foo.native

(i.e. map -use-classic-display to -v and -use-ocamlfind to -f, since neither of those can be shortened via alternative mechanisms such as a _tags file)

@dbuenzli
Copy link
Collaborator

dbuenzli commented Mar 1, 2017

Related to #48

@whitequark
Copy link
Member

Isn't this what corebuild does now?

@whitequark
Copy link
Member

Also, I like the idea of having the -v and -f flags.

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

3 participants