Skip to content

Commit

Permalink
[jbuild] Remove ocamldep-multi-stanzas
Browse files Browse the repository at this point in the history
This is no longer supported

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
rgrinberg committed Jul 29, 2019
1 parent 44433c9 commit 8ec03dc
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 52 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

40 changes: 0 additions & 40 deletions test/blackbox-tests/test-cases/ocamldep-multi-stanzas/run.t
Original file line number Diff line number Diff line change
@@ -1,43 +1,3 @@
$ dune exec ./test.exe --debug-dep --display short --root jbuild --profile release
Entering directory 'jbuild'
File "jbuild", line 1, characters 0-0:
Warning: jbuild files are not allowed inside Dune 2.0 projects, please
convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
File "src/jbuild", line 1, characters 0-0:
Warning: jbuild files are not allowed inside Dune 2.0 projects, please
convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
File "jbuild", line 1, characters 0-0:
Error: Module "Lib" is used in several stanzas:
- jbuild:2
- jbuild:6
To fix this error, you must specify an explicit "modules" field in every
library, executable, and executables stanzas in this dune file. Note that
each module cannot appear in more than one "modules" field - it must belong
to a single library or executable.
[1]

$ dune build src/a.cma --debug-dep --display short --root jbuild
Entering directory 'jbuild'
File "jbuild", line 1, characters 0-0:
Warning: jbuild files are not allowed inside Dune 2.0 projects, please
convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
File "src/jbuild", line 1, characters 0-0:
Warning: jbuild files are not allowed inside Dune 2.0 projects, please
convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
File "src/jbuild", line 1, characters 0-0:
Error: Module "X" is used in several stanzas:
- src/jbuild:1
- src/jbuild:2
To fix this error, you must specify an explicit "modules" field in every
library, executable, and executables stanzas in this dune file. Note that
each module cannot appear in more than one "modules" field - it must belong
to a single library or executable.
[1]

$ dune exec ./test.exe --debug-dep --display short --root dune
Entering directory 'dune'
File "dune", line 1, characters 0-0:
Expand Down

0 comments on commit 8ec03dc

Please sign in to comment.