Browse Source

fix build, new dune-project

master
zapashcanon 1 year ago
parent
commit
9096ae7ec7
Signed by: zapashcanon GPG Key ID: 8981C3C62D1D28F1
3 changed files with 66 additions and 4 deletions
  1. +1
    -1
      .build.yml
  2. +32
    -0
      bdd.opam
  3. +33
    -3
      dune-project

+ 1
- 1
.build.yml View File

@ -21,7 +21,7 @@ tasks:
- setup: |
opam init -y
opam update -y
opam install -y dune bisect_ppx odoc ocamlformat
opam install -y dune bisect_ppx odoc ocamlformat hc memo
- lint-format: |
cd $name
eval "$(opam env)"


+ 32
- 0
bdd.opam View File

@ -0,0 +1,32 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Binary decision diagram library"
description: "bdd is an OCaml library for binary decision diagram. "
maintainer: ["Léo Andrès <contact@ndrs.fr>"]
authors: ["Léo Andrès <contact@ndrs.fr>"]
license: "ISC"
homepage: "https://git.zapashcanon.fr/zapashcanon/bdd"
doc: "https://doc.zapashcanon.fr/bdd/"
bug-reports: "https://git.zapashcanon.fr/zapashcanon/bdd/issues"
depends: [
"ocaml" {>= "4.05"}
"dune" {>= "2.0"}
"bisect_ppx" {>= "1.4"}
"memo" {>= "0.0.1"}
"hc" {>= "0.0.1"}
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git://git.zapashcanon.fr/zapashcanon/bdd.git"

+ 33
- 3
dune-project View File

@ -1,7 +1,37 @@
(lang dune 1.11)
(lang dune 2.0)
(name bdd)
(using menhir 2.0)
(license ISC)
(explicit_js_mode)
(authors "Léo Andrès <contact@ndrs.fr>")
(maintainers "Léo Andrès <contact@ndrs.fr>")
(source
(uri git://git.zapashcanon.fr/zapashcanon/bdd.git))
(bug_reports https://git.zapashcanon.fr/zapashcanon/bdd/issues)
(homepage https://git.zapashcanon.fr/zapashcanon/bdd)
(documentation https://doc.zapashcanon.fr/bdd/)
(generate_opam_files true)
(package
(name bdd)
(synopsis "Binary decision diagram library")
(description
"bdd is an OCaml library for binary decision diagram. ")
(depends
(ocaml
(>= 4.05))
(dune
(>= 2.0))
(bisect_ppx
(>= 1.4))
(memo
(>= 0.0.1))
(hc
(>= 0.0.1))))

Loading…
Cancel
Save