You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...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)
The text was updated successfully, but these errors were encountered:
Another suggestion from Gabriel was to provide an "ocamlbuildf" binary that defaults to -use-ocamlfind. This would also solve our book verbosity problem.
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)
The text was updated successfully, but these errors were encountered: