Skip to content
Merged
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
60 changes: 50 additions & 10 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

(documentation "https://mbarbin.github.io/fpath-base/")

;; The value for the [implicit_transtive_deps] option is set during the CI
;; The value for the [implicit_transitive_deps] option is set during the CI
;; depending on the OCaml compiler version.
;;
;; This will be set to [false] iif [ocaml-version >= 5.2].
Expand Down Expand Up @@ -55,27 +55,69 @@
(package
(name fpath-base-tests)
(synopsis "Tests for fpath-base")
(depends
(ocaml
(>= 5.2))
(base
(>= v0.17))
(base_quickcheck
(>= v0.17))
(expect_test_helpers_core
(>= v0.17))
(fpath
(>= 0.7.3))
(fpath-base
(= :version))
(fpath-sexp0
(= :version))
(ppx_compare
(>= v0.17))
(ppx_enumerate
(>= v0.17))
(ppx_expect
(>= v0.17))
(ppx_hash
(>= v0.17))
(ppx_here
(>= v0.17))
(ppx_let
(>= v0.17))
(ppx_sexp_conv
(>= v0.17))
(ppx_sexp_value
(>= v0.17))
(ppxlib
(>= 0.33))
(re
(>= 1.8.0))
(sexp_pretty
(>= v0.17))
(stdio
(>= v0.17))))

(package
(name fpath-base-dev)
(synopsis "Package to regroup dev targets, documentation, and more")
(allow_empty)
(depends
(ocaml
(>= 5.2))
(ocamlformat
(and
:with-dev-setup
(= 0.27.0)))
(= 0.27.0))
(base
(>= v0.17))
(base_quickcheck
(>= v0.17))
(bisect_ppx
(and
:with-dev-setup
(>= 2.8.3)))
(>= 2.8.3))
(expect_test_helpers_core
(>= v0.17))
(fpath
(>= 0.7.3))
(fpath-base
(= :version))
(fpath-base-tests
(= :version))
(fpath-sexp0
(= :version))
(ppx_compare
Expand All @@ -89,9 +131,7 @@
(ppx_here
(>= v0.17))
(ppx_js_style
(and
:with-dev-setup
(>= v0.17)))
(>= v0.17))
(ppx_let
(>= v0.17))
(ppx_sexp_conv
Expand Down
52 changes: 52 additions & 0 deletions fpath-base-dev.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Package to regroup dev targets, documentation, and more"
maintainer: ["Mathieu Barbin <opensource@mbarbin.org>"]
authors: ["Mathieu Barbin"]
license: "MIT"
homepage: "https://github.com/mbarbin/fpath-base"
doc: "https://mbarbin.github.io/fpath-base/"
bug-reports: "https://github.com/mbarbin/fpath-base/issues"
depends: [
"dune" {>= "3.17"}
"ocaml" {>= "5.2"}
"ocamlformat" {= "0.27.0"}
"base" {>= "v0.17"}
"base_quickcheck" {>= "v0.17"}
"bisect_ppx" {>= "2.8.3"}
"expect_test_helpers_core" {>= "v0.17"}
"fpath" {>= "0.7.3"}
"fpath-base" {= version}
"fpath-base-tests" {= version}
"fpath-sexp0" {= version}
"ppx_compare" {>= "v0.17"}
"ppx_enumerate" {>= "v0.17"}
"ppx_expect" {>= "v0.17"}
"ppx_hash" {>= "v0.17"}
"ppx_here" {>= "v0.17"}
"ppx_js_style" {>= "v0.17"}
"ppx_let" {>= "v0.17"}
"ppx_sexp_conv" {>= "v0.17"}
"ppx_sexp_value" {>= "v0.17"}
"ppxlib" {>= "0.33"}
"re" {>= "1.8.0"}
"sexp_pretty" {>= "v0.17"}
"stdio" {>= "v0.17"}
"sherlodoc" {with-doc & >= "0.2"}
"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/mbarbin/fpath-base.git"
4 changes: 0 additions & 4 deletions fpath-base-tests.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ bug-reports: "https://github.com/mbarbin/fpath-base/issues"
depends: [
"dune" {>= "3.17"}
"ocaml" {>= "5.2"}
"ocamlformat" {with-dev-setup & = "0.27.0"}
"base" {>= "v0.17"}
"base_quickcheck" {>= "v0.17"}
"bisect_ppx" {with-dev-setup & >= "2.8.3"}
"expect_test_helpers_core" {>= "v0.17"}
"fpath" {>= "0.7.3"}
"fpath-base" {= version}
Expand All @@ -23,15 +21,13 @@ depends: [
"ppx_expect" {>= "v0.17"}
"ppx_hash" {>= "v0.17"}
"ppx_here" {>= "v0.17"}
"ppx_js_style" {with-dev-setup & >= "v0.17"}
"ppx_let" {>= "v0.17"}
"ppx_sexp_conv" {>= "v0.17"}
"ppx_sexp_value" {>= "v0.17"}
"ppxlib" {>= "0.33"}
"re" {>= "1.8.0"}
"sexp_pretty" {>= "v0.17"}
"stdio" {>= "v0.17"}
"sherlodoc" {with-doc & >= "0.2"}
"odoc" {with-doc}
]
build: [
Expand Down