Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit 9290660

Browse files
committed
Support installation with opam, so rescript-editor-support.exe is in the path.
1 parent c945816 commit 9290660

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

dune

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
(ignored_subdirs (
2-
examples
3-
node_modules
4-
))
5-
1+
(dirs :standard \ node_modules examples)
62
(env
73
(dev
84
(flags (:standard -warn-error -A))))

dune-project

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
(lang dune 1.1)
1+
(lang dune 1.7)
2+
(name rescript-editor-support)

rescript-editor-support.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ depends: [
1717
"uri" {= "3.1.0"}
1818
]
1919
build: [
20-
["dune" "build"]
20+
["dune" "build" "-p" name "@install"]
2121
]
2222
dev-repo: "git+https://github.com/rescript-lang/rescript-editor-support.git"
2323

src/rescript-editor-support/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(include_subdirs unqualified)
22
(executable
33
(name RescriptEditorSupport)
4-
(public_name RescriptEditorSupport)
4+
(public_name rescript-editor-support.exe)
55
(libraries str reason ocaml-migrate-parsetree uri bigarray)
66
(flags "-w" "+26+27+32+33+39")
77
(preprocess (pps Ppx_monads))

0 commit comments

Comments
 (0)