Commit 98da4c5e authored by Benoit Barbot's avatar Benoit Barbot
Browse files

update dune

parent b441b34c
Pipeline #2794 passed with stage
in 52 seconds
from ocaml/opam:debian-ocaml-4.05
RUN sudo apt-get update -y; sudo apt-get install -y pkg-config libgdbm-dev libgmp-dev libpcre3-dev libssl-dev zlib1g-dev; sudo apt-get clean
RUN eval $(opam env); opam update;
RUN eval $(opam env); opam install eliom js_of_ocaml js_of_ocaml-lwt lwt_ppx js_of_ocaml-ppx js_of_ocaml-ppx_deriving_json xml-light ocamlbuild
ADD editor editor
RUN cd editor; eval $(opam env);make; make install
ADD TikzEditor TikzEditor
RUN cd TikzEditor; eval $(opam env); make
(executable
(name ta_editor)
(modes js byte)
(modules TAGraph Ta_editor)
(libraries js_of_ocaml js_of_ocaml-lwt GraphEditor)
(preprocess
(pps js_of_ocaml-ppx)))
open Js_of_ocaml
open GraphEditor
open UtilsWeb
module TAGraphEd = GraphDrawing.GraphEditor (SimpleGraph.S (TAGraph))
module TAGraphEd = GraphDrawing.Make (SimpleGraph.S (TAGraph))
let _ =
let create_form = div [] in
......
(executable
(name tikz_editor)
(modes js byte)
(modules Tikz_editor TikzGraph TikzParser TikzLexer)
(libraries js_of_ocaml js_of_ocaml-lwt GraphEditor)
(preprocess
(pps js_of_ocaml-ppx)))
......
open Js_of_ocaml
open GraphEditor
open UtilsWeb
module TAGraphEd = GraphDrawing.GraphEditor (SimpleGraph.S (TikzGraph))
module TAGraphEd = GraphDrawing.Make (SimpleGraph.S (TikzGraph))
let _ =
let create_form = div [] in
......
......@@ -71,7 +71,7 @@ module type GRAPH = sig
val print_graph : (string * (Format.formatter -> graph -> unit) * string) list
end
module GraphEditor (G : GRAPH) = struct
module Make (G : GRAPH) = struct
open DrawingGeom
open UtilsWeb
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment