File tree 6 files changed +19
-17
lines changed
6 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,11 @@ bug-reports: "https://github.com/rescript-lang/rescript-compiler/issues"
9
9
depends: [
10
10
"ocaml" {>= "4.14"}
11
11
"cppo" {= "1.8.0"}
12
- "dune"
12
+ "dune" {>= "3.17"}
13
+ "odoc" {with-doc}
13
14
]
14
15
build: [
15
- ["dune" "subst"] {pinned }
16
+ ["dune" "subst"] {dev }
16
17
[
17
18
"dune"
18
19
"build"
Original file line number Diff line number Diff line change 2
2
3
3
(executables
4
4
(names jsoo_playground_main)
5
- (modes js)
5
+ (modes js wasm )
6
6
(enabled_if
7
7
(= %{profile} browser))
8
8
(flags
9
9
(:standard -w +a-4-9-40-42-44-45))
10
- (libraries core syntax ml js_of_ocaml))
10
+ (libraries core syntax ml js_of_ocaml)
11
+ (preprocess (pps js_of_ocaml-ppx)))
Original file line number Diff line number Diff line change @@ -676,11 +676,9 @@ module Export = struct
676
676
end
677
677
678
678
let () =
679
- export " rescript_compiler"
680
- Js.Unsafe. (
681
- obj
682
- [|
683
- (" api_version" , inject @@ Js. string api_version);
684
- (" version" , inject @@ Js. string Bs_version. version);
685
- (" make" , inject @@ Export. make);
686
- |])
679
+ Js. export " rescript_compiler"
680
+ (object % js
681
+ val api_version = api_version
682
+ val version = Bs_version. version
683
+ method make = Export. make ()
684
+ end)
Original file line number Diff line number Diff line change 1
- (lang dune 2 .3 )
1
+ (lang dune 3 .17 )
2
2
3
3
(name rescript)
4
4
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ depends: [
14
14
"cppo" {= "1.8.0"}
15
15
"js_of_ocaml" {= "6.0.1"}
16
16
"ounit2" {= "2.2.7"}
17
- "dune"
17
+ "dune" {>= "3.17"}
18
+ "odoc" {with-doc}
18
19
]
19
20
build: [
20
- ["dune" "subst"] {pinned }
21
+ ["dune" "subst"] {dev }
21
22
[
22
23
"dune"
23
24
"build"
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ depends: [
10
10
"ocaml" {>= "4.14"}
11
11
"cppo" {= "1.8.0"}
12
12
"analysis"
13
- "dune"
13
+ "dune" {>= "3.17"}
14
+ "odoc" {with-doc}
14
15
]
15
16
build: [
16
- ["dune" "subst"] {pinned }
17
+ ["dune" "subst"] {dev }
17
18
[
18
19
"dune"
19
20
"build"
You can’t perform that action at this time.
0 commit comments