We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb87903 commit f43b7f7Copy full SHA for f43b7f7
1 file changed
pkg/build.ml
@@ -2,8 +2,6 @@
2
3
open Topkg
4
5
-let native = Conf.(key "native" bool ~absent:false)
6
-
7
let () =
8
let cmd c os files =
9
let ocamlbuild = Conf.tool "rebuild" os in
@@ -15,14 +13,7 @@ let () =
15
13
Pkg.describe "ReasonProject" ~build ~change_logs:[] ~licenses:[] ~readmes:[] @@ fun c ->
16
14
Ok [
17
Pkg.lib "pkg/META";
18
- (* .native builds if --native true is passed *)
19
- Pkg.lib ~cond:(Conf.value c native)
20
- ~exts:(Exts.exts [".native"])
21
- ~dst:"test"
22
- "src/Test";
23
- (* .byte builds if --native is absent or passed as false *)
24
- Pkg.lib ~cond:(not (Conf.value c native))
25
- ~exts:(Exts.exts [".byte"])
+ Pkg.bin ~auto:true
26
~dst:"test"
27
"src/Test";
28
]
0 commit comments