File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
test/blackbox-tests/test-cases/pkg/ocamllsp Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ Test the special compiler version is picked up by ocamllsp.
2+
3+ $ . .. / helpers. sh
4+ $ . ./ helpers. sh
5+
6+ $ mkrepo
7+ $ make_mock_ocamllsp_package
8+ $ mkpkg ocaml-variants 5.2 . 0+ ox
9+ $ mkpkg ocaml 5.2 . 0
10+
11+ $ setup_ocamllsp_workspace
12+
13+ $ cat > dune-project << EOF
14+ > (lang dune 3.21 )
15+ >
16+ > (package
17+ > (name foo)
18+ > (allow_empty))
19+ > EOF
20+
21+ $ make_lockdir
22+ $ make_lockpkg ocaml-variants << EOF
23+ > (version 5.2 . 0+ ox)
24+ > EOF
25+ $ make_lockpkg ocaml << EOF
26+ > (version 5.2 . 0)
27+ > EOF
28+
29+ $ dune tools exec ocamllsp
30+ Solution for _build/. dev-tools. locks/ ocaml-lsp-server:
31+ - ocaml. 5. 2. 0
32+ - ocaml-lsp-server. 0. 0. 1
33+ - ocaml-variants. 5. 2. 0+ ox
34+ Running ' ocamllsp'
35+ hello from fake ocamllsp
36+
You can’t perform that action at this time.
0 commit comments