3

Without bsb, how does one compile any more than a single unqualified .ml file?

$ touch test.ml
$ touch test.mli
$ bsc test.ml
File "test.ml", line 1:
Error: Could not find the .cmi file for interface test.mli.

I haven't even gotten as far as trying to do this with an ocamlfind library, pretty sure I'm going to want to kill myself when I get that far.

Dune doesn't support BuckleScript; bsb doesn't support any of the OCaml testing tools (ppx_inline_test, ppx_expect) or ppx_deriving plugins as far as I can tell … I'm at wits' end here. Help me figure out how to actually use BuckleScript.

ELLIOTTCABLE
  • 17,185
  • 12
  • 62
  • 78

1 Answers1

-3

I did not try, but below should work. bsc -c test.mli test.ml

bobzhang
  • 1,771
  • 3
  • 17
  • 19