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

Fix test on 4.02

+9
+9
vendor/opam/opam-file-format/tests/hygiene/dune
··· 4 4 (name opamBaseParser) 5 5 (libraries opam-file-format) 6 6 (modules OpamParserTypes OpamBaseParser) 7 + (flags :standard (:include flags.sexp)) 7 8 (action (run %{test} %{version:opam-file-format}))) 8 9 9 10 (ocamlyacc OpamBaseParser) ··· 13 14 (progn (cat ../../src/opamBaseParser.mly) 14 15 ; If this assertion fails, OpamBaseParser.version is wrong 15 16 (echo "let () = assert (Scanf.sscanf Sys.argv.(1) \"%u.%u\" (fun x y -> (x, y)) = version)")))) 17 + 18 + (rule 19 + (with-stdout-to flags.ml 20 + (echo "print_string (if String.sub Sys.ocaml_version 0 5 = \"4.02.\" then \"(-w -50)\" else \"()\")"))) 21 + 22 + (rule 23 + (with-stdout-to flags.sexp 24 + (run ocaml %{dep:flags.ml})))