Skip to content

Commit

Permalink
Compile the test only in test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed Jul 11, 2015
1 parent 4af0ea2 commit 485e9c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ build: [
"--%{lwt:enable}%-lwt"
"--%{camlp4:enable}%-camlp4"
"--%{async:enable}%-async"
"--%{base-unix:enable}%-unix"
"--%{ounit:enable}%-tests"]
"--%{base-unix:enable}%-unix"]
[make]
]
build-test: [
Expand All @@ -26,7 +25,7 @@ build-test: [
"--%{camlp4:enable}%-camlp4"
"--%{async:enable}%-async"
"--%{base-unix:enable}%-unix"
"--%{ounit:enable}%-tests"]
"--enable-tests"]
[make]
["./test.sh"]
]
Expand All @@ -40,8 +39,8 @@ remove: [
]
depends: [
"ocamlfind" {build}
"ounit" {test}
"type_conv" {build}
"ounit" {test}
"ocplib-endian"
"sexplib"
]
Expand Down

0 comments on commit 485e9c7

Please sign in to comment.