Skip to content

Commit f3121fc

Browse files
committed
Dunify v0.0.3
1 parent 09b9f65 commit f3121fc

File tree

9 files changed

+67
-3
lines changed

9 files changed

+67
-3
lines changed

opam renamed to brr.opam

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ bug-reports: "https://github.com/dbuenzli/brr/issues"
1010
license: ["ISC" "BSD-3-Clause"]
1111
tags: ["reactive" "declarative" "frp" "front-end" "browser" "org:erratique"]
1212
depends: ["ocaml" {>= "4.08.0"}
13-
"ocamlfind" {build}
14-
"ocamlbuild" {build}
13+
"dune"
14+
"dune-site"
1515
"js_of_ocaml-compiler" {>= "4.0.0"}
1616
"js_of_ocaml-toplevel" {>= "4.0.0"}
1717
"note"]
18-
build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%"]]
18+
build: [ "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} ]
1919
description: """
2020
Brr is a toolkit for programming browsers in OCaml with the
2121
[`js_of_ocaml`][jsoo] compiler. It provides:

dune-project

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(lang dune 2.8)
2+
(using dune_site 0.1)
3+
(name brr)
4+
(package
5+
(name brr)
6+
(sites (share console)))

src/console/dune

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
(executable
2+
(name ocaml_console)
3+
(modules ocaml_console)
4+
(libraries brr brr.ocaml_poke_ui)
5+
(modes js))
6+
7+
(rule (mode promote) (action (copy ocaml_console.bc.js ocaml_console.js)))

src/dune

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
(library
2+
(name brr)
3+
(public_name brr)
4+
(modules brr brr_canvas brr_io brr_webaudio brr_webcrypto brr_webworkers fut jv jstr)
5+
(libraries js_of_ocaml-compiler.runtime)
6+
(wrapped false))
7+
8+
(dirs :standard console)
9+
10+
(install
11+
(section
12+
(site (brr console)))
13+
(files
14+
console/devtools.html
15+
console/devtools.js
16+
console/highlight.pack.js
17+
console/manifest.json
18+
console/ocaml.png
19+
console/ocaml_console.css
20+
console/ocaml_console.html
21+
console/ocaml_console.js))

src/note/dune

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(library
2+
(name brr_note)
3+
(public_name brr.note)
4+
(modules brr_note brr_note_kit brr_note_legacy)
5+
(libraries brr note)
6+
(wrapped false))

src/ocaml_poke/dune

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(library
2+
(name brr_ocaml_poke)
3+
(public_name brr.ocaml_poke)
4+
(modules brr_ocaml_poke)
5+
(libraries brr)
6+
(wrapped false))

src/ocaml_poke_ui/dune

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(library
2+
(name brr_ocaml_poke_ui)
3+
(public_name brr.ocaml_poke_ui)
4+
(modules brr_ocaml_poke_ui)
5+
(libraries brr brr.ocaml_poke)
6+
(wrapped false))

src/poke/dune

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(library
2+
(name brr_poke)
3+
(public_name brr.poke)
4+
(modules brr_poke)
5+
(libraries js_of_ocaml-toplevel brr)
6+
(wrapped false))

src/poked/dune

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(library
2+
(name brr_poked)
3+
(public_name brr.poked)
4+
(modules brr_poked)
5+
(libraries brr brr.poke)
6+
(wrapped false))

0 commit comments

Comments
 (0)