Skip to content

Commit

Permalink
Add cstruct to compile the test binary
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Oct 30, 2017
1 parent ef44cdd commit bac3c34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _tags
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ true: safe_string, bin_annot
<src-c/digestif.{cma,cmxa}>: record_digestif_rakia_stubs
<src-c/digestif.cmxs>: link_digestif_rakia_stubs, use_bigarray
<src-ocaml/digestif.cmxs>: use_bigarray
<test/*.{ml,mli,byte,native}>: package(alcotest)
<test/*.{ml,mli,byte,native}>: package(alcotest), package(cstruct)
2 changes: 1 addition & 1 deletion digestif-test-c.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dev-repo: "https://github.com/mirage/digestif.git"
doc: "https://mirage.github.io/digestif/"
license: "MIT"

build: [ "ocamlbuild" "-use-ocamlfind" "-package" "digestif.c,cstruct" "test/test.native" ]
build: [ "ocamlbuild" "-use-ocamlfind" "-package" "digestif.c" "test/test.native" ]
build-test: [ "./test.native" ]

depends: [
Expand Down
2 changes: 1 addition & 1 deletion digestif-test-ocaml.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dev-repo: "https://github.com/mirage/digestif.git"
doc: "https://mirage.github.io/digestif/"
license: "MIT"

build: [ "ocamlbuild" "-use-ocamlfind" "-package" "digestif.ocaml,cstruct" "test/test.native" ]
build: [ "ocamlbuild" "-use-ocamlfind" "-package" "digestif.ocaml" "test/test.native" ]
build-test: [ "./test.native" ]

depends: [
Expand Down

0 comments on commit bac3c34

Please sign in to comment.