rename lib
This commit is contained in:
parent
f0ef5803b7
commit
fc4b8f5b8f
8
LICENSE.md
Normal file
8
LICENSE.md
Normal file
@ -0,0 +1,8 @@
|
||||
The ISC License (ISC)
|
||||
=====================
|
||||
|
||||
Copyright © 2024, swrup <swrup@protonmail.com>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
@ -1,9 +1,8 @@
|
||||
# slippery_slidy
|
||||
# gadgetobrr
|
||||
|
||||
js_of_ocmal + brr library to make slider
|
||||
utilitarian Brr based library to make widgets.
|
||||
Help to create input elements and listen to input events on them
|
||||
|
||||
## TODOs
|
||||
|
||||
- add a default css
|
||||
- make slider container dragable
|
||||
- make a color picker
|
||||
- use webstorage to make it work accross pages?
|
||||
|
27
dune-project
27
dune-project
@ -1,26 +1,27 @@
|
||||
(lang dune 3.14)
|
||||
|
||||
(name slippery_slidy)
|
||||
(name gadgetobrr)
|
||||
|
||||
(generate_opam_files true)
|
||||
|
||||
(authors "swrup <swrup@protonmail.com>")
|
||||
|
||||
(maintainers "Swrup")
|
||||
|
||||
(source
|
||||
(github username/reponame))
|
||||
(uri git+https://git.zapashcanon.fr/swrup/gadgetobrr.git))
|
||||
|
||||
(authors "Author Name")
|
||||
(homepage https://git.zapashcanon.fr/swrup/gadgetobrr)
|
||||
|
||||
(maintainers "Maintainer Name")
|
||||
(bug_reports https://git.zapashcanon.fr/swrup/gadgetobrr/issues)
|
||||
|
||||
(license LICENSE)
|
||||
|
||||
(documentation https://url/to/documentation)
|
||||
(license ISC)
|
||||
|
||||
(package
|
||||
(name slippery_slidy)
|
||||
(synopsis "A short synopsis")
|
||||
(description "A longer description")
|
||||
(name gadgetobrr)
|
||||
(synopsis "Brr based library to help making input elements")
|
||||
(description "library based on Brr to make input elements and setup listeners \
|
||||
on them to tweak values")
|
||||
(depends ocaml dune js_of_ocaml brr)
|
||||
(tags
|
||||
(topics "to describe" your project)))
|
||||
|
||||
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project
|
||||
(topics js_of_ocaml brr widget)))
|
||||
|
@ -1,5 +1,5 @@
|
||||
(executable
|
||||
(name main)
|
||||
(modules main)
|
||||
(libraries js_of_ocaml brr slippery_slidy)
|
||||
(libraries js_of_ocaml brr gadgetobrr)
|
||||
(modes js))
|
||||
|
@ -1,7 +1,7 @@
|
||||
(* This add a slidder to into <main>
|
||||
moving the slider print its value to the console *)
|
||||
open Brr
|
||||
open Slippery_slidy
|
||||
open Gadgetobrr
|
||||
|
||||
let append_el_to_main el =
|
||||
let main =
|
||||
|
33
gadgetobrr.opam
Normal file
33
gadgetobrr.opam
Normal file
@ -0,0 +1,33 @@
|
||||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
synopsis: "Brr based library to help making input elements"
|
||||
description:
|
||||
"library based on Brr to make input elements and setup listeners on them to tweak values"
|
||||
maintainer: ["Swrup"]
|
||||
authors: ["swrup <swrup@protonmail.com>"]
|
||||
license: "ISC"
|
||||
tags: ["topics" "js_of_ocaml" "brr" "widget"]
|
||||
homepage: "https://git.zapashcanon.fr/swrup/gadgetobrr"
|
||||
bug-reports: "https://git.zapashcanon.fr/swrup/gadgetobrr/issues"
|
||||
depends: [
|
||||
"ocaml"
|
||||
"dune" {>= "3.14"}
|
||||
"js_of_ocaml"
|
||||
"brr"
|
||||
"odoc" {with-doc}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
[
|
||||
"dune"
|
||||
"build"
|
||||
"-p"
|
||||
name
|
||||
"-j"
|
||||
jobs
|
||||
"@install"
|
||||
"@runtest" {with-test}
|
||||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://git.zapashcanon.fr/swrup/gadgetobrr.git"
|
4
lib/dune
4
lib/dune
@ -1,4 +1,4 @@
|
||||
(library
|
||||
(name slippery_slidy)
|
||||
(public_name slippery_slidy)
|
||||
(name gadgetobrr)
|
||||
(public_name gadgetobrr)
|
||||
(libraries js_of_ocaml brr))
|
||||
|
@ -1,33 +0,0 @@
|
||||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
synopsis: "A short synopsis"
|
||||
description: "A longer description"
|
||||
maintainer: ["Maintainer Name"]
|
||||
authors: ["Author Name"]
|
||||
license: "LICENSE"
|
||||
tags: ["topics" "to describe" "your" "project"]
|
||||
homepage: "https://github.com/username/reponame"
|
||||
doc: "https://url/to/documentation"
|
||||
bug-reports: "https://github.com/username/reponame/issues"
|
||||
depends: [
|
||||
"ocaml"
|
||||
"dune" {>= "3.14"}
|
||||
"js_of_ocaml"
|
||||
"brr"
|
||||
"odoc" {with-doc}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
[
|
||||
"dune"
|
||||
"build"
|
||||
"-p"
|
||||
name
|
||||
"-j"
|
||||
jobs
|
||||
"@install"
|
||||
"@runtest" {with-test}
|
||||
"@doc" {with-doc}
|
||||
]
|
||||
]
|
||||
dev-repo: "git+https://github.com/username/reponame.git"
|
Loading…
x
Reference in New Issue
Block a user