Debian Codegraph @

test/blackbox-tests/test-cases/pkg/ocamllsp/dev-tool-ocamllsp-no-lock-dir.t

raw
1 Exercise the behaviour of "dune tools exec ocamllsp" when run in a
2 dune project with no lockdir.
3
4 $ cat > dune-project <<EOF
5 > (lang dune 3.16)
6 >
7 > (package
8 > (name foo)
9 > (allow_empty))
10 > EOF
11
12 $ dune tools exec ocamllsp
13 Error: Unable to load the lockdir for the default build context.
14 Hint: Try running 'dune pkg lock'
15 [1]