-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate hello.opam from dune-project
Signed-off-by: Christian Lindig <[email protected]>
- Loading branch information
Christian Lindig
committed
Sep 29, 2023
1 parent
5dcf810
commit fe893d2
Showing
4 changed files
with
47 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,25 @@ | ||
(lang dune 2.0) | ||
(name hello) | ||
|
||
(generate_opam_files true) | ||
|
||
(source | ||
(github lindig/hello)) | ||
|
||
(license Unlicense) | ||
|
||
(authors "Christian Lindig <[email protected]>") | ||
|
||
(maintainers "Christian Lindig <[email protected]>") | ||
|
||
(package | ||
(name hello) | ||
(synopsis "Minimal OCaml project for starting a new one") | ||
(description | ||
"Hello is the classic hello world but organised as a proper OCaml project incuding command-line parsing and online help. It serves as a starting point for new projects.") | ||
(depends | ||
(dune | ||
(>= "2.0")) | ||
(ocaml | ||
(>= 4.08.0)) | ||
(cmdliner | ||
(>= 1.1.0)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,30 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
synopsis: "Minimal OCaml project for starting a new one" | ||
description: """ | ||
Hello is the classic hello world but organised as a proper | ||
OCaml project incuding command-line parsing and online help. It serves | ||
as a starting point for new projects.""" | ||
maintainer: "Christian Lindig <[email protected]>" | ||
authors: "Christian Lindig <[email protected]>" | ||
description: | ||
"Hello is the classic hello world but organised as a proper OCaml project incuding command-line parsing and online help. It serves as a starting point for new projects." | ||
maintainer: ["Christian Lindig <[email protected]>"] | ||
authors: ["Christian Lindig <[email protected]>"] | ||
license: "Unlicense" | ||
homepage: "https://github.com/lindig/hello" | ||
bug-reports: "https://github.com/lindig/hello/issues" | ||
depends: [ | ||
"dune" {>= "2.0"} | ||
"ocaml" {>= "4.08.0"} | ||
"cmdliner" {>= "1.1.0"} | ||
] | ||
build: ["dune" "build" "-p" name "-j" jobs] | ||
dev-repo: "https://github.com/lindig/hello.git" | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/lindig/hello.git" |