Skip to content

Commit

Permalink
Dunify v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Apr 14, 2022
1 parent 09b9f65 commit f3121fc
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opam → brr.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ bug-reports: "https://github.com/dbuenzli/brr/issues"
license: ["ISC" "BSD-3-Clause"]
tags: ["reactive" "declarative" "frp" "front-end" "browser" "org:erratique"]
depends: ["ocaml" {>= "4.08.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"dune"
"dune-site"
"js_of_ocaml-compiler" {>= "4.0.0"}
"js_of_ocaml-toplevel" {>= "4.0.0"}
"note"]
build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%"]]
build: [ "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} ]
description: """
Brr is a toolkit for programming browsers in OCaml with the
[`js_of_ocaml`][jsoo] compiler. It provides:
Expand Down
6 changes: 6 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(lang dune 2.8)
(using dune_site 0.1)
(name brr)
(package
(name brr)
(sites (share console)))
7 changes: 7 additions & 0 deletions src/console/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(executable
(name ocaml_console)
(modules ocaml_console)
(libraries brr brr.ocaml_poke_ui)
(modes js))

(rule (mode promote) (action (copy ocaml_console.bc.js ocaml_console.js)))
21 changes: 21 additions & 0 deletions src/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
(library
(name brr)
(public_name brr)
(modules brr brr_canvas brr_io brr_webaudio brr_webcrypto brr_webworkers fut jv jstr)
(libraries js_of_ocaml-compiler.runtime)
(wrapped false))

(dirs :standard console)

(install
(section
(site (brr console)))
(files
console/devtools.html
console/devtools.js
console/highlight.pack.js
console/manifest.json
console/ocaml.png
console/ocaml_console.css
console/ocaml_console.html
console/ocaml_console.js))
6 changes: 6 additions & 0 deletions src/note/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(library
(name brr_note)
(public_name brr.note)
(modules brr_note brr_note_kit brr_note_legacy)
(libraries brr note)
(wrapped false))
6 changes: 6 additions & 0 deletions src/ocaml_poke/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(library
(name brr_ocaml_poke)
(public_name brr.ocaml_poke)
(modules brr_ocaml_poke)
(libraries brr)
(wrapped false))
6 changes: 6 additions & 0 deletions src/ocaml_poke_ui/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(library
(name brr_ocaml_poke_ui)
(public_name brr.ocaml_poke_ui)
(modules brr_ocaml_poke_ui)
(libraries brr brr.ocaml_poke)
(wrapped false))
6 changes: 6 additions & 0 deletions src/poke/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(library
(name brr_poke)
(public_name brr.poke)
(modules brr_poke)
(libraries js_of_ocaml-toplevel brr)
(wrapped false))
6 changes: 6 additions & 0 deletions src/poked/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(library
(name brr_poked)
(public_name brr.poked)
(modules brr_poked)
(libraries brr brr.poke)
(wrapped false))

0 comments on commit f3121fc

Please sign in to comment.