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

less verbose flags for ocamlbuild #6053

Closed
vicuna opened this issue Jun 27, 2013 · 2 comments
Closed

less verbose flags for ocamlbuild #6053

vicuna opened this issue Jun 27, 2013 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Jun 27, 2013

Original bug ID: 6053
Reporter: @avsm
Status: resolved (set by @damiendoligez on 2017-03-01T15:56:43Z)
Resolution: suspended
Priority: normal
Severity: feature
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @gasche @hcarty

Bug description

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)

@vicuna
Copy link
Author

vicuna commented Jun 27, 2013

Comment author: @avsm

Another suggestion from Gabriel was to provide an "ocamlbuildf" binary that defaults to -use-ocamlfind. This would also solve our book verbosity problem.

@vicuna
Copy link
Author

vicuna commented Mar 1, 2017

Comment author: @damiendoligez

ocamlbuild is now a separate project that lives on GitHub.
PR transferred to ocaml/ocamlbuild#198

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