Skip to content

Commit ee5d975

Browse files
committed
Upgrade to opam2 and dune
1 parent b219e9e commit ee5d975

File tree

6 files changed

+25
-21
lines changed

6 files changed

+25
-21
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v1.0.2
2+
--------------------------
3+
Upgrade jbuilder to dune
4+
5+
16
v1.0.1
27
--------------------------
38

dune-project

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
(lang dune 1.0)
2+
(name wtf8)

src/dune

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(library
2+
(name wtf8)
3+
(public_name wtf8))

src/jbuild

Lines changed: 0 additions & 6 deletions
This file was deleted.

wtf8.descr

Lines changed: 0 additions & 3 deletions
This file was deleted.

wtf8.opam

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
opam-version: "1.2"
1+
opam-version: "2.0"
22
maintainer: "Marshall Roch <[email protected]>"
3-
authors: ["Marshall Roch <[email protected]>"]
3+
authors: "Marshall Roch <[email protected]>"
4+
license: "MIT"
45
homepage: "https://github.com/flowtype/ocaml-wtf8"
56
doc: "https://github.com/flowtype/ocaml-wtf8"
6-
license: "MIT"
7-
dev-repo: "https://github.com/flowtype/ocaml-wtf8.git"
87
bug-reports: "https://github.com/flowtype/ocaml-wtf8/issues"
9-
tags: []
10-
available: [ ocaml-version >= "4.01.0"]
11-
depends:
12-
[
13-
"jbuilder" {build & >= "1.0+beta7"}
8+
depends: [
9+
"ocaml" {>= "4.01.0"}
10+
"dune" {build & >= "1.0"}
11+
]
12+
build: [
13+
["dune" "build" "-p" name "-j" jobs]
14+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
1415
]
15-
depopts: []
16-
build: [["jbuilder" "build" "-p" name "-j" jobs]]
17-
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]
16+
dev-repo: "git+https://github.com/flowtype/ocaml-wtf8.git"
17+
synopsis: "Encoder and decoder for WTF-8"
18+
description: """
19+
WTF-8 is a superset of UTF-8 that allows unpaired surrogates.
20+
"""

0 commit comments

Comments
 (0)