Browse Source

Mark all dependencies as build ones, since we do not use it at runtime.

According to the developper manual, the `build` tag means:
> build dependencies are no longer needed at run-time: they won’t trigger recompilations of your package.
(see https://opam.ocaml.org/doc/manual/dev-manual.html#sec9)

Leo 8 years ago
parent
commit
e1e823f9bb
1 changed files with 8 additions and 8 deletions
  1. 8 8
      opam

+ 8 - 8
opam

@@ -18,15 +18,15 @@ build: [
 install: [make "install"]
 remove: ["ocamlfind" "remove" "oclaunch"]
 depends: [
-  "ocamlbuild"
+  "ocamlbuild" { build }
   "atdgen" { build & >= "1.9.1" }
-  "yojson"
-  "base-threads"
-  "core" {>= "112.35.00"}
-  "textutils"
-  "re2"
+  "yojson" { build }
+  "base-threads" { build }
+  "core" {  build & >= "112.35.00"}
+  "textutils" { build }
+  "re2" { build }
   "ocamlfind" { build }
-  "ounit" {test}
-  "alcotest" {test}
+  "ounit" { test }
+  "alcotest" { test }
 ]
 available: [ocaml-version >= "4.03.0"]