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 c482b11
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 5 deletions.
9 changes: 4 additions & 5 deletions opam → brr.opam
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@ synopsis: """Browser programming toolkit for OCaml"""
maintainer: ["Daniel Bünzli <daniel.buenzl [email protected]>"]
authors: ["The brr programmers"]
homepage: "https://erratique.ch/software/brr"
doc: "https://erratique.ch/software/brr/doc/"
dev-repo: "git+https://erratique.ch/repos/brr.git"
dev-repo: "git+https://github.com/dune-universe/brr"
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)))
5 changes: 5 additions & 0 deletions src/console/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(executable
(name ocaml_console)
(modules ocaml_console)
(libraries brr brr.ocaml_poke_ui)
(modes js))
27 changes: 27 additions & 0 deletions src/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
(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)

(subdir console
(rule
(target ocaml_console.js)
(deps ocaml_console.bc.js)
(action (copy %{deps} %{target}))))

(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 c482b11

Please sign in to comment.