The unpac monorepo manager self-hosting as a monorepo using unpac

simplify compilation

authored by

Kate and committed by
Raja Boujbel
de5408bc 429687d4

+7 -9
+1 -1
vendor/opam/opam-file-format/README.md
··· 1 1 # opam-file-format - Parser and printer for the opam file syntax 2 2 3 3 This library provides the parser and printer for the opam file syntax as a 4 - library with no dependencies but [Dune](https://dune.build) >= 1.3. 4 + library with no dependencies but [Dune](https://dune.build) >= 1.4. 5 5 6 6 Opam was created and is maintained by [OCamlPro](http://www.ocamlpro.com). 7 7
+1 -1
vendor/opam/opam-file-format/dune-project
··· 1 - (lang dune 1.3) 1 + (lang dune 1.4)
+1 -1
vendor/opam/opam-file-format/opam-file-format.opam
··· 11 11 run-test: ["dune" "runtest" "-p" name "-j" jobs] 12 12 depends: [ 13 13 "ocaml" 14 - "dune" {>= "1.3.0"} 14 + "dune" {>= "1.4.0"} 15 15 "alcotest" {with-test & >= "0.4.8"} 16 16 "fmt" {with-test} 17 17 ]
+4 -6
vendor/opam/opam-file-format/src/dune
··· 3 3 (public_name opam-file-format) 4 4 (synopsis "Parser and printer for the opam file syntax") 5 5 (wrapped false) 6 - (modules :standard \ flags) 7 6 (flags :standard (:include flags.sexp))) 8 7 9 8 (rule 10 - (with-stdout-to flags.ml 11 - (echo "print_string (if String.sub Sys.ocaml_version 0 5 = \"4.02.\" then \"(-w -50)\" else \"()\")"))) 12 - 9 + (enabled_if (< %{ocaml_version} "4.03")) 10 + (action (with-stdout-to flags.sexp (echo "(-w -50)")))) 13 11 (rule 14 - (with-stdout-to flags.sexp 15 - (run ocaml %{dep:flags.ml}))) 12 + (enabled_if (>= %{ocaml_version} "4.03")) 13 + (action (with-stdout-to flags.sexp (echo "()")))) 16 14 17 15 (ocamlyacc opamBaseParser) 18 16 (ocamllex opamLexer)