Skip to content

Commit

Permalink
Generate opam file with dune
Browse files Browse the repository at this point in the history
  • Loading branch information
hcarty committed Apr 1, 2020
1 parent 6e7c7cf commit 9f6c0d4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 5 deletions.
17 changes: 17 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
(lang dune 2.0)
(name ppx_defer)
(allow_approximate_merlin)

(license MIT)
(maintainers "Hezekiah M. Carty <[email protected]>")
(authors "Hezekiah M. Carty <[email protected]>")

(source (github hcarty/ppx_defer))

(generate_opam_files true)

(package
(name ppx_defer)
(synopsis "Go-like [%defer later]; now syntax")
(depends
(ocaml (>= 4.02.3))
(dune (>= 2.0))
ocaml-migrate-parsetree
ppx_tools_versioned))
24 changes: 19 additions & 5 deletions ppx_defer.opam
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
maintainer: "Hezekiah M. Carty <[email protected]>"
authors: [ "Hezekiah M. Carty <[email protected]>" ]
license: "MIT"
synopsis: "Go-like [%defer later]; now syntax"
maintainer: ["Hezekiah M. Carty <[email protected]>"]
authors: ["Hezekiah M. Carty <[email protected]>"]
license: "MIT"
homepage: "https://github.com/hcarty/ppx_defer"
bug-reports: "https://github.com/hcarty/ppx_defer/issues"
dev-repo: "git+https://github.com/hcarty/ppx_defer.git"
build:[ "dune" "build" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.02.3"}
"dune" {>= "2.0"}
"ocaml-migrate-parsetree"
"ppx_tools_versioned"
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/hcarty/ppx_defer.git"

0 comments on commit 9f6c0d4

Please sign in to comment.