From 07daec0a8e2226dc060150e2d08e0f0e873c4819 Mon Sep 17 00:00:00 2001 From: Hugo Heuzard Date: Wed, 28 Jul 2021 05:18:53 +0200 Subject: [PATCH] Misc: more dune syntax --- lib/lwt/graphics/dune | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/lwt/graphics/dune b/lib/lwt/graphics/dune index 399903ba73..f1875ecba3 100644 --- a/lib/lwt/graphics/dune +++ b/lib/lwt/graphics/dune @@ -1,18 +1,3 @@ -(* -*- tuareg -*- *) -open Jbuild_plugin.V1 - -let graphics_exists = - try - match run_and_read_lines "ocamlfind query -a-format -predicates byte graphics" with - | path :: _ -> Sys.file_exists path - | _ -> false - with _ -> false - -let () = - let jbuild = - if graphics_exists - then - {| (library (name graphics_js) (public_name js_of_ocaml-lwt.graphics) @@ -28,8 +13,3 @@ let () = (mode promote) (action (with-stdout-to %{targets} (run ../../gen_stubs/gen_stubs.exe %{deps})))) - -|} - else {||} - in - send jbuild