Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 521

Missing dependency file after upgrading lang dune above 2.9

$
0
0

Hi,

I have a custom test in my code base that is defined this way:

(tests
 (names test_json_parsing)
 (libraries yojson stork test_utils)
 (deps
  (glob_files *.json))
 (flags
  (:standard -linkall -g -open StdLabels -w +A-48-42-40-70)))

It worked without problem before but since I upgraded lang dune from 2.9 to 3.3, it complains with the following error:

File "test/single_version/dune", line 18, characters 8-25:
18 |  (names test_json_parsing)
             ^^^^^^^^^^^^^^^^^
Fatal error: exception Sys_error("single_version_1.json: No such file or directory")

Did dune change the way dependency files are supposed to be defined?

Thanks for your help

edit: updated with my findings, this issue is related to lang dune and not dune version itself.

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles