Skip to content

Commit

Permalink
try to make opam-repository happy
Browse files Browse the repository at this point in the history
Who knows why opam cares about running tests, but opam-dune-lint doesn't test them, and
who knows if it's possible to check build results locally
  • Loading branch information
v-gb committed Jun 26, 2024
1 parent ddec21c commit e675dc9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
21 changes: 10 additions & 11 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@
(name ppx_partial)

(generate_opam_files true)

(source
(github v-gb/ppx_partial))

(source (github v-gb/ppx_partial))
(authors "Valentin Gatien-Baron")

(maintainers "Valentin Gatien-Baron")

(license ISC)

(package
Expand All @@ -26,12 +21,16 @@ This can be convenient in pipelines or to build arguments for `List.map`
or any places that need single-argument functions.
As a slight generalization, `__.record_field` and `Sum_constructor __`
allow shortening `fun x -> x.record_field` and `(fun x -> Sum_constructor x)`.
allow shortening `(fun x -> x.record_field)` and `(fun x -> Sum_constructor x)`.
")
(depends
(ppxlib
(>= 0.32.1))
ocaml
dune)
(ppxlib (>= 0.32.1))
(ocaml (>= 4.14.0))
dune
(base :with-test)
(ppx_pipebang :with-test)
(ppx_inline_test :with-test)
(ppx_assert :with-test)
)
(tags
(syntax ppx)))
8 changes: 6 additions & 2 deletions ppx_partial.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This can be convenient in pipelines or to build arguments for `List.map`
or any places that need single-argument functions.

As a slight generalization, `__.record_field` and `Sum_constructor __`
allow shortening `fun x -> x.record_field` and `(fun x -> Sum_constructor x)`.
allow shortening `(fun x -> x.record_field)` and `(fun x -> Sum_constructor x)`.
"""
maintainer: ["Valentin Gatien-Baron"]
authors: ["Valentin Gatien-Baron"]
Expand All @@ -21,8 +21,12 @@ homepage: "https://github.com/v-gb/ppx_partial"
bug-reports: "https://github.com/v-gb/ppx_partial/issues"
depends: [
"ppxlib" {>= "0.32.1"}
"ocaml"
"ocaml" {>= "4.14.0"}
"dune" {>= "3.15"}
"base" {with-test}
"ppx_pipebang" {with-test}
"ppx_inline_test" {with-test}
"ppx_assert" {with-test}
"odoc" {with-doc}
]
build: [
Expand Down

0 comments on commit e675dc9

Please sign in to comment.