Skip to content

Commit

Permalink
generate opam file from dune-project
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Nogueira committed Jul 8, 2024
1 parent f799b9f commit 4d8bb88
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 21 deletions.
34 changes: 34 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
(lang dune 3.9)

(generate_opam_files true)

(name passage)

(using menhir 2.1)

(license "MIT")

(version "0.1.0")

(source
(github ahrefs/passage))

(authors "Ahrefs Pte Ltd <[email protected]>")

(maintainers "Ahrefs Pte Ltd <[email protected]>")

(package
(name passage)
(synopsis "Passage - used to store and manage access to shared secrets")
(description "Passage - used to store and manage access to shared secrets")
(depends
(cmdliner
(>= 1.1.0))
devkit
extunix
fileutils
fpath
lwt
lwt_ppx
menhir
ppx_expect
(ocamlformat
(and
:with-dev-setup
(= 0.26.2)))
qrc
re2
sedlex))
47 changes: 26 additions & 21 deletions passage.opam
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "git"
authors: "Ahrefs Pte Ltd <[email protected]>"
maintainer: "Ahrefs Pte Ltd <[email protected]>"
version: "0.1.0"
synopsis: "Passage - used to store and manage access to shared secrets"
description: "Passage - used to store and manage access to shared secrets"
maintainer: ["Ahrefs Pte Ltd <[email protected]>"]
authors: ["Ahrefs Pte Ltd <[email protected]>"]
license: "MIT"
homepage: "https://github.com/ahrefs/passage"
bug-reports: "https://github.com/ahrefs/passage/issues"
dev-repo: "git+ssh://[email protected]/ahrefs/passage"

synopsis: "Passage - used to store and manage access to shared secrets"

depends: [
"cmdliner"
"dune" {>= "3.9"}
"cmdliner" {>= "1.1.0"}
"devkit"
"extunix"
"fileutils"
Expand All @@ -18,23 +19,27 @@ depends: [
"lwt_ppx"
"menhir"
"ppx_expect"
"ocamlformat" {with-dev-setup & = "0.26.2"}
"qrc"
"re2"
"sedlex"
"ocamlformat" {= "0.26.2" & with-dev-setup}
"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/ahrefs/passage.git"
depexts: [
["age"] {os-family = "debian"}
]

build: [
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
]
3 changes: 3 additions & 0 deletions passage.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
depexts: [
["age"] {os-family = "debian"}
]

0 comments on commit 4d8bb88

Please sign in to comment.