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

Configure Feed

Select the types of activity you want to include in your feed.

fixed dune files

+158 -156
+8 -10
dgraph/dune
··· 1 - 2 - 3 1 (library 4 - (name graph_gtk) 5 - (public_name ocamlgraph_gtk) 6 - (modules :standard \ dGraphViewer) 7 - (libraries ocamlgraph stdlib-shims lablgtk2.gnomecanvas lablgtk2) 8 - (flags -open Graph)) 2 + (name graph_gtk) 3 + (public_name ocamlgraph_gtk) 4 + (modules :standard \ dGraphViewer) 5 + (libraries ocamlgraph stdlib-shims lablgtk2.gnomecanvas lablgtk2) 6 + (flags -open Graph)) 9 7 10 8 (executable 11 - (name dGraphViewer) 12 - (modules dGraphViewer) 13 - (libraries graph_gtk lablgtk2.gnomecanvas lablgtk2)) 9 + (name dGraphViewer) 10 + (modules dGraphViewer) 11 + (libraries graph_gtk lablgtk2.gnomecanvas lablgtk2))
-1
dune
··· 1 - (dirs src examples dgraph tests editor view_graph)
+2 -34
dune-project
··· 1 - (lang dune 2.4) 1 + (lang dune 2.0) 2 2 3 3 (name ocamlgraph) 4 4 5 - (generate_opam_files true) 6 - 7 - (package 8 - (name ocamlgraph) 9 - (synopsis "A generic graph library for OCaml") 10 - (depends 11 - ocaml 12 - stdlib-shims 13 - (dune (>= "2.0"))) 14 - (tags (graph library algorithms "directed graph" vertice edge persistent imperative)) 15 - (license LGPL-2.1-only) 16 - (authors "Sylvain Conchon" "Jean-Christophe Filliâtre" "Julien Signoles") 17 - (homepage "http://ocamlgraph.lri.fr/") 18 - (maintainers "filliatr@lri.fr") 19 - (source (github backtracking/ocamlgraph)) 20 - (bug_reports "https://github.com/backtracking/ocamlgraph/issues/new")) 21 - 22 - (package 23 - (name ocamlgraph_gtk) 24 - (synopsis "Displaying graphs using ocamlgraphs and gtk") 25 - (depends 26 - ocaml 27 - stdlib-shims 28 - lablgtk 29 - ocamlgraph 30 - (dune (>= "2.0"))) 31 - (tags (graph library algorithms "directed graph" vertice edge persistent imperative)) 32 - (license LGPL-2.1-only) 33 - (authors "Sylvain Conchon" "Jean-Christophe Filliâtre" "Julien Signoles") 34 - (homepage "http://ocamlgraph.lri.fr/") 35 - (maintainers "filliatr@lri.fr") 36 - (source (github backtracking/ocamlgraph)) 37 - (bug_reports "https://github.com/backtracking/ocamlgraph/issues/new")) 5 + (formatting (enabled_for dune))
+12 -16
editor/dune
··· 1 1 (executable 2 - (name ed_main) 3 - (modules ed_main ed_display ed_graph ed_hyper ed_draw) 4 - (libraries graph lablgtk2 lablgtk2.gnomecanvas)) 2 + (name ed_main) 3 + (modules ed_main ed_display ed_graph ed_hyper ed_draw) 4 + (libraries graph lablgtk2 lablgtk2.gnomecanvas)) 5 5 6 6 (executable 7 - (name editor) 8 - (modules editor gtree htree) 9 - (libraries graph lablgtk2 lablgtk2.gnomecanvas) 10 - (flags -w -32)) 7 + (name editor) 8 + (modules editor gtree htree) 9 + (libraries graph lablgtk2 lablgtk2.gnomecanvas) 10 + (flags -w -32)) 11 11 12 12 (executable 13 - (name graphEdGTK) 14 - (modules graphEdGTK outils_tort outils_math) 15 - (libraries graph lablgtk2 lablgtk2.gnomecanvas) 16 - (flags -w -32)) 17 - 18 - 13 + (name graphEdGTK) 14 + (modules graphEdGTK outils_tort outils_math) 15 + (libraries graph lablgtk2 lablgtk2.gnomecanvas) 16 + (flags -w -32)) 19 17 20 18 ;; FIXME: graphEd cannot be built because tmoveto / tlineto don't exist (anymore ?) 21 19 ··· 30 28 ; # ocamlopt outils_math.ml 31 29 ; # ocamlopt -o $@ graphics.cmxa outils_math.cmx $^ 32 30 33 - 34 31 ; # graphEd.opt : outils_math.ml outils_tort.ml graphEd.ml 35 32 ; # ocamlopt -o $@ graphics.cmxa -I .. ../graph.cmxa $^ 36 - 37 33 38 34 ; # graphEdGTK : outils_math.ml outils_tort.ml graphEdGTK.ml 39 35 ; # ocamlopt.opt -o $@ -I +lablgtk2 lablgtk.cmxa lablgnomecanvas.cmxa unix.cmxa -I .. ../graph.cmxa $^ ··· 42 38 ; # ocamlc.opt -g -o $@ -I +lablgtk2 lablgtk.cma lablgnomecanvas.cma unix.cma -I .. ../graph.cma $^ 43 39 44 40 ; # editor.opt: 45 - ; # make -C .. 41 + ; # make -C ..
+1 -1
examples/demo.ml
··· 289 289 290 290 let () = 291 291 ignore (Graphics.wait_next_event [Graphics.Key_pressed ]); 292 - Graphics.close_graph () 292 + Graphics.close_graph ()
+7 -2
examples/dune
··· 1 1 (executables 2 - (names color compare_prim_kruskal demo_planar demo_prim demo sudoku) 3 - (libraries graph unix graphics threads)) 2 + (names color compare_prim_kruskal demo_planar demo_prim demo sudoku) 3 + (libraries graph unix graphics threads)) 4 + 5 + (alias 6 + (name runtest) 7 + (deps color.exe compare_prim_kruskal.exe demo_planar.exe demo_prim.exe 8 + demo.exe sudoku.exe))
+5 -6
src/dune
··· 1 1 (include_subdirs unqualified) 2 2 3 3 (library 4 - (name graph) 5 - (public_name ocamlgraph) 6 - (libraries stdlib-shims) 7 - (modules :standard) 8 - (modules_without_implementation dot_ast sig sig_pack)) 4 + (name graph) 5 + (public_name ocamlgraph) 6 + (libraries stdlib-shims) 7 + (modules_without_implementation dot_ast sig sig_pack)) 9 8 10 9 (ocamlyacc dot_parser) 11 10 12 - (ocamllex gml dot_lexer) 11 + (ocamllex gml dot_lexer)
-8
src/graphviz.ml
··· 24 24 http://www.research.att.com/sw/tools/graphviz/ *) 25 25 26 26 open Format 27 - open Stdlib (* for compatibility with ocaml 3.12.0+dev17 28 - (incoming ocaml3.12) *) 29 27 30 28 (***************************************************************************) 31 29 (** {2 Common stuff} *) ··· 948 946 let opening = "graph" 949 947 let edge_arrow = "--" 950 948 end) 951 - 952 - (* 953 - Local Variables: 954 - compile-command: "make -C .." 955 - End: 956 - *)
+115 -70
tests/dune
··· 1 1 (test 2 - (name check) 3 - (libraries graph) 4 - (modules check)) 2 + (name check) 3 + (libraries graph) 4 + (modules check)) 5 5 6 6 (test 7 - (name test_topsort) 8 - (libraries graph) 9 - (modules test_topsort)) 10 - 7 + (name test_topsort) 8 + (libraries graph) 9 + (modules test_topsort)) 11 10 12 11 ;; Rules for the Bellman-Ford tests 12 + 13 13 (rule 14 - (with-stdout-to test_bf.output (run ./test_bf.exe))) 14 + (with-stdout-to 15 + test_bf.output 16 + (run ./test_bf.exe))) 17 + 15 18 (rule 16 19 (alias runtest) 17 20 (action 18 21 (progn 19 - (diff test_bf.expected test_bf.output) 20 - (echo "test_bf: all tests succeeded.\n")))) 22 + (diff test_bf.expected test_bf.output) 23 + (echo "test_bf: all tests succeeded.\n")))) 24 + 21 25 (executable 22 - (name test_bf) 23 - (modules test_bf) 24 - (libraries graph)) 26 + (name test_bf) 27 + (modules test_bf) 28 + (libraries graph)) 25 29 26 30 ;; Rules for the chaotic tests 31 + 27 32 (rule 28 - (with-stdout-to test_chaotic.output (run ./test_chaotic.exe))) 33 + (with-stdout-to 34 + test_chaotic.output 35 + (run ./test_chaotic.exe))) 36 + 29 37 (rule 30 38 (alias runtest) 31 39 (action 32 40 (progn 33 - (diff test_chaotic.expected test_chaotic.output) 34 - (echo "test_chaotic: all tests succeeded.\n")))) 41 + (diff test_chaotic.expected test_chaotic.output) 42 + (echo "test_chaotic: all tests succeeded.\n")))) 43 + 35 44 (executable 36 - (name test_chaotic) 37 - (modules test_chaotic) 38 - (libraries graph)) 45 + (name test_chaotic) 46 + (modules test_chaotic) 47 + (libraries graph)) 39 48 40 49 ;; Rules for the strat test 50 + 41 51 (rule 42 - (with-stdout-to strat.output (run ./strat.exe))) 52 + (with-stdout-to 53 + strat.output 54 + (run ./strat.exe))) 55 + 43 56 (rule 44 57 (alias runtest) 45 58 (action 46 59 (progn 47 - (diff strat.expected strat.output) 48 - (echo "strat: all tests succeeded.\n")))) 60 + (diff strat.expected strat.output) 61 + (echo "strat: all tests succeeded.\n")))) 62 + 49 63 (executable 50 - (name strat) 51 - (modules strat) 52 - (libraries graph)) 64 + (name strat) 65 + (modules strat) 66 + (libraries graph)) 53 67 54 68 ;; Rules for the fixpoint test 69 + 55 70 (rule 56 - (with-stdout-to test_fixpoint.output (run ./test_fixpoint.exe))) 71 + (with-stdout-to 72 + test_fixpoint.output 73 + (run ./test_fixpoint.exe))) 74 + 57 75 (rule 58 76 (alias runtest) 59 77 (action 60 78 (progn 61 - (diff test_fixpoint.expected test_fixpoint.output) 62 - (echo "test_fixpoint: all tests succeeded.\n")))) 79 + (diff test_fixpoint.expected test_fixpoint.output) 80 + (echo "test_fixpoint: all tests succeeded.\n")))) 81 + 63 82 (executable 64 - (name test_fixpoint) 65 - (modules test_fixpoint) 66 - (libraries graph)) 83 + (name test_fixpoint) 84 + (modules test_fixpoint) 85 + (libraries graph)) 67 86 68 87 ;; Rules for the Johnson test 88 + 69 89 (rule 70 - (with-stdout-to test_johnson.output (run ./test_johnson.exe))) 90 + (with-stdout-to 91 + test_johnson.output 92 + (run ./test_johnson.exe))) 93 + 71 94 (rule 72 95 (alias runtest) 73 96 (action 74 97 (progn 75 - (diff test_johnson.expected test_johnson.output) 76 - (echo "test_johnson: all tests succeeded.\n")))) 98 + (diff test_johnson.expected test_johnson.output) 99 + (echo "test_johnson: all tests succeeded.\n")))) 100 + 77 101 (executable 78 - (name test_johnson) 79 - (modules test_johnson) 80 - (libraries graph)) 102 + (name test_johnson) 103 + (modules test_johnson) 104 + (libraries graph)) 81 105 82 106 ;; Rules for the weak topological test 107 + 83 108 (rule 84 - (with-stdout-to test_wto.output (run ./test_wto.exe))) 109 + (with-stdout-to 110 + test_wto.output 111 + (run ./test_wto.exe))) 112 + 85 113 (rule 86 114 (alias runtest) 87 115 (action 88 116 (progn 89 - (diff test_wto.expected test_wto.output) 90 - (echo "test_wto: all tests succeeded.\n")))) 117 + (diff test_wto.expected test_wto.output) 118 + (echo "test_wto: all tests succeeded.\n")))) 119 + 91 120 (executable 92 - (name test_wto) 93 - (modules test_wto) 94 - (libraries graph)) 95 - 121 + (name test_wto) 122 + (modules test_wto) 123 + (libraries graph)) 96 124 97 125 ;; Rules for the basic test 126 + 98 127 (rule 99 - (with-stdout-to basic.output (run ./basic.exe))) 128 + (with-stdout-to 129 + basic.output 130 + (run ./basic.exe))) 131 + 100 132 (rule 101 133 (alias runtest) 102 134 (action 103 135 (progn 104 - (diff basic.expected basic.output) 105 - (echo "basic: all tests succeeded.\n")))) 136 + (diff basic.expected basic.output) 137 + (echo "basic: all tests succeeded.\n")))) 138 + 106 139 (executable 107 - (name basic) 108 - (modules basic) 109 - (libraries graph)) 140 + (name basic) 141 + (modules basic) 142 + (libraries graph)) 110 143 111 144 ;; Rules for the test_components test 145 + 112 146 (rule 113 - (with-stdout-to test_components.output (run ./test_components.exe))) 147 + (with-stdout-to 148 + test_components.output 149 + (run ./test_components.exe))) 150 + 114 151 (rule 115 152 (alias runtest) 116 153 (action 117 154 (progn 118 - (diff test_components.expected test_components.output) 119 - (echo "test_components: all tests succeeded.\n")))) 155 + (diff test_components.expected test_components.output) 156 + (echo "test_components: all tests succeeded.\n")))) 157 + 120 158 (executable 121 - (name test_components) 122 - (modules test_components) 123 - (libraries graph)) 159 + (name test_components) 160 + (modules test_components) 161 + (libraries graph)) 124 162 125 163 ;; rules for the dot test 164 + 126 165 (rule 127 - (deps dot.dot) 128 - (action (with-stdout-to dot.output 129 - (run ./dot.exe %{deps})))) 166 + (deps dot.dot) 167 + (action 168 + (with-stdout-to 169 + dot.output 170 + (run ./dot.exe %{deps})))) 171 + 130 172 (rule 131 173 (alias runtest) 132 174 (action 133 175 (progn 134 - (diff dot.expected dot.output) 135 - (echo "dot: all tests succeeded.\n")))) 176 + (diff dot.expected dot.output) 177 + (echo "dot: all tests succeeded.\n")))) 178 + 136 179 (executable 137 - (name dot) 138 - (modules dot) 139 - (libraries graph)) 180 + (name dot) 181 + (modules dot) 182 + (libraries graph)) 140 183 141 184 ;; rules for the running the benchmark 185 + 142 186 (rule 143 - (alias bench) 144 - (action (run ./bench.exe))) 187 + (alias bench) 188 + (action 189 + (run ./bench.exe))) 190 + 145 191 (executable 146 - (name bench) 147 - (modules bench) 148 - (libraries graph unix)) 149 - 192 + (name bench) 193 + (modules bench) 194 + (libraries graph unix))
+8 -8
view_graph/dune
··· 1 1 (library 2 - (name viewGraph) 3 - (wrapped false) 4 - (modules :standard \ viewGraph_test) 5 - (libraries ocamlgraph lablgtk2 lablgtk2.gnomecanvas)) 2 + (name viewGraph) 3 + (wrapped false) 4 + (modules :standard \ viewGraph_test) 5 + (libraries ocamlgraph lablgtk2 lablgtk2.gnomecanvas)) 6 6 7 7 (executable 8 - (name viewGraph_test) 9 - (modules viewGraph_test) 10 - (libraries viewGraph) 11 - (flags -open ViewGraph)) 8 + (name viewGraph_test) 9 + (modules viewGraph_test) 10 + (libraries viewGraph) 11 + (flags -open ViewGraph))