Skip to content

Commit

Permalink
feature: add support for OCaml 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ulugbekna committed Jan 18, 2023
1 parent 7e91492 commit 4b48e45
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.14.x
- 5.0.x

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install-test-deps:

.PHONY: dev
dev: ## Setup a development environment
opam switch create --no-install . ocaml-base-compiler.4.14.0
opam switch create --no-install . ocaml-base-compiler.5.0.0
opam install -y dune-release merlin ocamlformat utop ocaml-lsp-server
opam install --locked --deps-only --with-doc -y .
$(MAKE) install-test-deps
Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ possible and does not make any assumptions about IO.
(csexp (>= 1.5))
(ocamlformat-rpc-lib (>= 0.21.0))
(odoc :with-doc)
(ocaml (and (>= 4.14) (< 4.15)))))
(ocaml (and (>= 5.0) (< 5.1)))))

(package
(name jsonrpc)
Expand Down
2 changes: 1 addition & 1 deletion ocaml-lsp-server.opam
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ depends: [
"csexp" {>= "1.5"}
"ocamlformat-rpc-lib" {>= "0.21.0"}
"odoc" {with-doc}
"ocaml" {>= "4.14" & < "4.15"}
"ocaml" {>= "5.0" & < "5.1"}
]
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
build: [
Expand Down
2 changes: 1 addition & 1 deletion ocaml-lsp-server/vendor/merlin
Submodule merlin updated 274 files
2 changes: 1 addition & 1 deletion submodules/lev/.github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.14.x
- 5.0.x

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit 4b48e45

Please sign in to comment.