-
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.
Make odate work with OCaml >4.06 and OPAM >2.0 (#5)
* Use new-style Stdlib rather than Pervasives. * Update the opam file for opam 2.x
- Loading branch information
Showing
3 changed files
with
13 additions
and
6 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,16 +1,23 @@ | ||
opam-version: "1.2" | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: [ "Hugo Heuzard" ] | ||
license: "LGPL-2.1 with OCaml linking exception" | ||
homepage: "https://github.com/hhugo/odate" | ||
build: [ | ||
["dune" "build" "--only" "odate" "--root" "." "-j" jobs "@install"] | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.07.0"} | ||
"dune" {build} | ||
"menhir" {build} | ||
"base-unix" | ||
] | ||
synopsis: "Date & Duration Library" | ||
description: """ | ||
Simple date and duration manipulation. Also implement duration printer | ||
based on string format. Already implemented in opalang | ||
[http://opalang.org/]. For documentation about the format, see : | ||
[http://doc.opalang.org/value/stdlib.core.date/Duration/try_generate_printer]. | ||
""" | ||
dev-repo: "git://github.com/hhugo/odate" | ||
available: [ ocaml-version >= "4.00.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,4 +1,4 @@ | ||
module P = Pervasives | ||
module P = Stdlib | ||
|
||
module O : sig | ||
|
||
|
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