Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dunify v0.0.3 #1

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions opam → brr.opam
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@ name: "brr"
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"
homepage: "https://github.com/dune-universe/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))