Questions tagged [ocaml-dune]

Use for questions relating to dune, previously jbuilder, a build system for [ocaml] and [reason]

Dune is a build system for and .

Resources

96 questions
0
votes
1 answer

Export OCaml dune test results to file

I have been attempting to do something like: dune runtest > test.txt However, whenever I attempt this an empty test.txt file is created. I would like for the output of dune runtest to be saved into test.txt, and ideally for the Terminal to not…
0
votes
1 answer

OUnit Test Issues with Dune

I have a project with this structure: - dune - main.ml -- src/ ---- dune ---- parser.ml -- test/ ---- dune ---- test_parser.ml In src/dune, I have the following: (library (name Parser)) In test/dune: (test (name test_token_type) (libraries oUnit…
abhillman
  • 3,942
  • 1
  • 20
  • 21
0
votes
1 answer

OCaml build tool dune installed, but doesn't run

I recently started learning OCaml, and wanted to install the dune build tool. I used opam install dune, then followed the instructions here. However, when running dune build hello_world.exe, I got the following error: The program 'dune' is currently…
sporkl
  • 409
  • 4
  • 17
0
votes
1 answer

dune utop lib without the interfaces

Is it possible to dune utop mylib load a library in "promiscuous mode" which would ignore the .mli interface files and expose the internals, like values or types not listed as part of the public interface? In effect, loading utop "from within" the…
nicolas
  • 9,549
  • 3
  • 39
  • 83
0
votes
0 answers

jbuilder 1.0 installation failure with 4.04.0+spacetime on Ubuntu 16.04

I am using OCaml 4.05.0+spacetime in order to profile my app's memory usage. However, I fail to install jbuilder 1.0 with this compiler. The error message # opam-version 1.2.2 (aa258ecc06d3aea5a67f442a4ffd23f2a457180b) # os linux # command…
1 2 3 4 5 6
7