没有bsb,如何编译超过一个不合格的.ml文件?
$ 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.我甚至还没试着用ocamlfind库来做这件事,很确定当我走到那一步的时候我会想自杀的。
据我所知,不支持BuckleScript;bsb不支持任何OCaml测试工具(ppx_inline_test,ppx_expect)或ppx_deriving插件我在这里束手无策。帮助我弄清楚如何实际使用BuckleScript。
发布于 2018-07-16 06:05:05
我没有试过,但下面应该管用。bsc -c test.mli test.ml
https://stackoverflow.com/questions/51350612
复制相似问题