Skip to content

Commit f43b7f7

Browse files
committed
Whoops that was wrong
1 parent fb87903 commit f43b7f7

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

pkg/build.ml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
open Topkg
44

5-
let native = Conf.(key "native" bool ~absent:false)
6-
75
let () =
86
let cmd c os files =
97
let ocamlbuild = Conf.tool "rebuild" os in
@@ -15,14 +13,7 @@ let () =
1513
Pkg.describe "ReasonProject" ~build ~change_logs:[] ~licenses:[] ~readmes:[] @@ fun c ->
1614
Ok [
1715
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"])
16+
Pkg.bin ~auto:true
2617
~dst:"test"
2718
"src/Test";
2819
]

0 commit comments

Comments
 (0)