Skip to content

Commit 6306c20

Browse files
authored
Add ocaml lsp editor (#699)
* Add reason-react-dev.opam file to install ocaml-lsp * Update reason to 3.8.2
1 parent 63c69a7 commit 6306c20

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"start": "bsb -make-world -w",
1515
"clean": "bsb -clean-world",
1616
"test": "jest",
17-
"format": "find ./src -iname '*.re' | xargs bsrefmt --in-place && find ./src -iname '*.rei' | xargs bsrefmt -i true --in-place"
17+
"format": "find ./src -iname '*.re' | xargs bsrefmt --in-place && find ./src -iname '*.rei' | xargs bsrefmt -i true --in-place",
18+
"init": "opam switch create . 4.06.1 --deps-only -y"
1819
},
1920
"keywords": [
2021
"reasonml",

reason-react-dev.opam

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
opam-version: "2.0"
2+
synopsis: "reason-react"
3+
homepage: "https://reasonml.github.io/reason-react/"
4+
bug-reports: "https://github.com/reasonml/reason-react/issues"
5+
depends: [
6+
"dune" {>= "2.7" & < "3"}
7+
"ocaml" {= "4.06.1"}
8+
"ocaml-lsp-server" {= "1.4.1"}
9+
"reason" {= "3.8.2"}
10+
"merlin" {= "3.4.0"}
11+
]
12+
build: [
13+
["dune" "subst"] {dev}
14+
[
15+
"dune"
16+
"build"
17+
"-p"
18+
name
19+
"-j"
20+
jobs
21+
"@install"
22+
"@runtest" {with-test}
23+
"@doc" {with-doc}
24+
]
25+
]
26+
dev-repo: "git+https://github.com/reasonml/reason-react.git"

0 commit comments

Comments
 (0)