Skip to content

Commit

Permalink
Add public_name, .opam and docs to library
Browse files Browse the repository at this point in the history
  • Loading branch information
Willenbrink committed Apr 16, 2020
1 parent 27f6140 commit d8f4000
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
29 changes: 29 additions & 0 deletions IT8951.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis:
"Interact with the IT8951 driver board via SPI and display images on a EInk display."
maintainer: ["Sebastian Willenbrink [email protected]"]
authors: ["Sebastian Willenbrink [email protected]"]
homepage: "https://github.com/Willenbrink/PaperTerminal"
bug-reports: "https://github.com/Willenbrink/PaperTerminal/issues"
depends: [
"dune" {>= "2.4"}
"ctypes" {>= "0"}
"ctypes.foreign" {>= "0"}
"pcf-parser" {>= "0.0.4"}
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/Willenbrink/PaperTerminal.git"
15 changes: 15 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
(lang dune 2.4)

(generate_opam_files true)

(source (github Willenbrink/PaperTerminal))
(authors "Sebastian Willenbrink [email protected]")
(maintainers "Sebastian Willenbrink [email protected]")

(package
(name IT8951)
(synopsis "Interact with the IT8951 driver board via SPI and display images on a EInk display.")
(depends
(ctypes (>= 0))
(ctypes.foreign (>= 0))
(pcf-parser (>= 0.0.4))
))
1 change: 1 addition & 0 deletions lib/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name epd)
(public_name IT8951)
; This builds the bus.c library and saves it to "_build/default/lib/dllepd_stubs.so"
; The exact reason for this name and how to modify it is unclear
(foreign_stubs
Expand Down

0 comments on commit d8f4000

Please sign in to comment.