Skip to content

Commit c482b11

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

File tree

9 files changed

+72
-5
lines changed

9 files changed

+72
-5
lines changed

opam renamed to brr.opam

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@ synopsis: """Browser programming toolkit for OCaml"""
44
maintainer: ["Daniel Bünzli <daniel.buenzl [email protected]>"]
55
authors: ["The brr programmers"]
66
homepage: "https://erratique.ch/software/brr"
7-
doc: "https://erratique.ch/software/brr/doc/"
8-
dev-repo: "git+https://erratique.ch/repos/brr.git"
7+
dev-repo: "git+https://github.com/dune-universe/brr"
98
bug-reports: "https://github.com/dbuenzli/brr/issues"
109
license: ["ISC" "BSD-3-Clause"]
1110
tags: ["reactive" "declarative" "frp" "front-end" "browser" "org:erratique"]
1211
depends: ["ocaml" {>= "4.08.0"}
13-
"ocamlfind" {build}
14-
"ocamlbuild" {build}
12+
"dune"
13+
"dune-site"
1514
"js_of_ocaml-compiler" {>= "4.0.0"}
1615
"js_of_ocaml-toplevel" {>= "4.0.0"}
1716
"note"]
18-
build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%"]]
17+
build: [ "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} ]
1918
description: """
2019
Brr is a toolkit for programming browsers in OCaml with the
2120
[`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

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
(executable
2+
(name ocaml_console)
3+
(modules ocaml_console)
4+
(libraries brr brr.ocaml_poke_ui)
5+
(modes js))

src/dune

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
(subdir console
11+
(rule
12+
(target ocaml_console.js)
13+
(deps ocaml_console.bc.js)
14+
(action (copy %{deps} %{target}))))
15+
16+
(install
17+
(section
18+
(site (brr console)))
19+
(files
20+
console/devtools.html
21+
console/devtools.js
22+
console/highlight.pack.js
23+
console/manifest.json
24+
console/ocaml.png
25+
console/ocaml_console.css
26+
console/ocaml_console.html
27+
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)