-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate opam file from dune-project again, fix #3
- Loading branch information
1 parent
c03b1cb
commit 106b6aa
Showing
2 changed files
with
49 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
synopsis: "An OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows" | ||
description: "directories is an OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows. It is inspired by similar libraries for other languages such as directories-jvm. The following conventions are used: XDG Base Directory Specification and xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on macOS." | ||
version: "0.1" | ||
synopsis: | ||
"An OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows" | ||
description: | ||
"directories is an OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows. It is inspired by similar libraries for other languages such as directories-jvm. The following conventions are used: XDG Base Directory Specification and xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on macOS." | ||
maintainer: ["OCamlPro <[email protected]>"] | ||
authors: ["OCamlPro <[email protected]>"] | ||
license: "ISC" | ||
homepage: "https://github.com/ocamlpro/directories" | ||
bug-reports: "https://github.com/ocamlpro/directories/issues" | ||
authors: "OCamlPro <[email protected]>" | ||
maintainer: "OCamlPro <[email protected]>" | ||
depends: [ | ||
"dune" {>= "2.0"} | ||
"dune" {>= "2.1"} | ||
"ocaml" {>= "4.07.0"} | ||
"ctypes-foreign" {>= "0.4.0" & (os = "win32" | os = "cygwin")} | ||
"ctypes" {>= "0.17.1" & (os = "win32" | os = "cygwin")} | ||
"ctypes-foreign" {>= "0.4.0" | "os" != "win32" | "os" != "mingw"} | ||
"ctypes" {>= "0.17.1" | "os" != "win32" | "os" != "mingw"} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
|
@@ -25,3 +30,4 @@ build: [ | |
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/ocamlpro/directories.git" |
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,3 +1,38 @@ | ||
(lang dune 2.0) | ||
(lang dune 2.1) | ||
|
||
(name directories) | ||
|
||
(version 0.1) | ||
|
||
(generate_opam_files true) | ||
|
||
(license ISC) | ||
|
||
(authors "OCamlPro <[email protected]>") | ||
|
||
(maintainers "OCamlPro <[email protected]>") | ||
|
||
(source | ||
(github ocamlpro/directories)) | ||
|
||
(package | ||
(name directories) | ||
(synopsis | ||
"An OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows") | ||
(description | ||
"directories is an OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows. It is inspired by similar libraries for other languages such as directories-jvm. The following conventions are used: XDG Base Directory Specification and xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on macOS.") | ||
(depends | ||
(ocaml | ||
(>= 4.07.0)) | ||
(ctypes-foreign | ||
(or | ||
(or | ||
(>= 0.4.0) | ||
(<> os "win32")) | ||
(<> os "mingw"))) | ||
(ctypes | ||
(or | ||
(or | ||
(>= 0.17.1) | ||
(<> os "win32")) | ||
(<> os "mingw"))))) |