Skip to content

Commit

Permalink
chore(ocamllsp): stop vendoring lsp/jsonrpc
Browse files Browse the repository at this point in the history
At some point this was needed b/c we reduced opam deps. We've long since
given up on that and now require dozens of deps from opam.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

<!-- ps-id: caceb04d-7982-4466-bbfc-ff75c777e2d2 -->
  • Loading branch information
rgrinberg committed May 26, 2024
1 parent 0ad159b commit f663169
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
3 changes: 3 additions & 0 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
(rule
(copy lsp.opam.template jsonrpc.opam.template))

(rule
(copy lsp.opam.template ocaml-lsp-server.opam.template))

(env
(_
(flags :standard -alert -unstable)))
2 changes: 2 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ possible and does not make any assumptions about IO.
(depends
yojson
base
(lsp (= :version))
(jsonrpc (= :version))
(re (>= 1.5.0))
(ppx_yojson_conv_lib (>= "v0.14"))
(dune-rpc (>= 3.4.0))
Expand Down
8 changes: 6 additions & 2 deletions ocaml-lsp-server.opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ depends: [
"dune" {>= "3.0"}
"yojson"
"base"
"lsp" {= version}
"jsonrpc" {= version}
"re" {>= "1.5.0"}
"ppx_yojson_conv_lib" {>= "v0.14"}
"dune-rpc" {>= "3.4.0"}
Expand Down Expand Up @@ -51,9 +53,11 @@ build: [
[
"dune"
"build"
"-p"
name
"-j"
jobs
"ocaml-lsp-server.install"
"--release"
"@install"
"@doc" {with-doc}
]
]
11 changes: 0 additions & 11 deletions ocaml-lsp-server.opam.template

This file was deleted.

0 comments on commit f663169

Please sign in to comment.