Skip to content

Commit ecbba56

Browse files
committed
Merge pull request #25 from frenetic-lang/oasis
Oasis fixes
2 parents b23a15d + bd78f1c commit ecbba56

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

_oasis

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ BuildTools:
1313

1414
Flag quickcheck
1515
Description: build the packet.quickcheck library
16-
Default: False
16+
Default: false
1717

1818
Library packet
1919
Path: lib
@@ -35,7 +35,7 @@ Library quickcheck
3535
Findlibparent: packet
3636
Findlibname: quickcheck
3737
Path: quickcheck
38-
Build$: flag(quickcheck)
38+
Build$: flag(tests) || flag(quickcheck)
3939
BuildDepends:
4040
packet,
4141
quickcheck
@@ -44,8 +44,8 @@ Library quickcheck
4444

4545
Executable testtool
4646
Path: test
47-
Install: False
48-
Build$: flag(tests) && flag(quickcheck)
47+
Install: false
48+
Build$: flag(tests)
4949
MainIs: Test.ml
5050
BuildDepends:
5151
oUnit,

setup.ml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* setup.ml generated for the first time by OASIS v0.3.0 *)
22

33
(* OASIS_START *)
4-
(* DO NOT EDIT (digest: 2b297a7276d20798789c6358cd5ac288) *)
4+
(* DO NOT EDIT (digest: ce1959053de2f5f88ac0db40b0c888f8) *)
55
(*
66
Regenerated by OASIS v0.4.1
77
Visit http://oasis.forge.ocamlcore.org for more information and
@@ -1176,7 +1176,7 @@ module OASISTypes = struct
11761176
{
11771177
obj_modules: string list;
11781178
obj_findlib_fullname: findlib_name list option;
1179-
}
1179+
}
11801180

11811181

11821182
type executable =
@@ -6265,7 +6265,7 @@ module OCamlbuildPlugin = struct
62656265
{
62666266
plugin_tags: string option;
62676267
extra_args: string list;
6268-
}
6268+
}
62696269

62706270

62716271
let check_ocaml_version version pkg =
@@ -6886,7 +6886,10 @@ let setup_t =
68866886
bs_build =
68876887
[
68886888
(OASISExpr.EBool true, false);
6889-
(OASISExpr.EFlag "quickcheck", true)
6889+
(OASISExpr.EOr
6890+
(OASISExpr.EFlag "tests",
6891+
OASISExpr.EFlag "quickcheck"),
6892+
true)
68906893
];
68916894
bs_install = [(OASISExpr.EBool true, true)];
68926895
bs_path = "quickcheck";
@@ -6925,10 +6928,7 @@ let setup_t =
69256928
bs_build =
69266929
[
69276930
(OASISExpr.EBool true, false);
6928-
(OASISExpr.EAnd
6929-
(OASISExpr.EFlag "tests",
6930-
OASISExpr.EFlag "quickcheck"),
6931-
true)
6931+
(OASISExpr.EFlag "tests", true)
69326932
];
69336933
bs_install = [(OASISExpr.EBool true, false)];
69346934
bs_path = "test";
@@ -6999,14 +6999,15 @@ let setup_t =
69996999
};
70007000
oasis_fn = Some "_oasis";
70017001
oasis_version = "0.4.1";
7002-
oasis_digest = Some "\244&E\239\131?#/k\139\148\226\000\184\211\175";
7002+
oasis_digest =
7003+
Some "\137\143]\202\128U\229w\236q\235\178\228\158\161\179";
70037004
oasis_exec = None;
70047005
oasis_setup_args = [];
70057006
setup_update = false
70067007
};;
70077008

70087009
let setup () = BaseSetup.setup setup_t;;
70097010

7010-
# 7011 "setup.ml"
7011+
# 7012 "setup.ml"
70117012
(* OASIS_STOP *)
70127013
let () = setup ();;

0 commit comments

Comments
 (0)