Skip to content

Commit

Permalink
Upgrade to opam2 and dune
Browse files Browse the repository at this point in the history
  • Loading branch information
mroch committed Jun 16, 2019
1 parent b219e9e commit ee5d975
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 21 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.0.2
--------------------------
Upgrade jbuilder to dune


v1.0.1
--------------------------

Expand Down
2 changes: 2 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(lang dune 1.0)
(name wtf8)
3 changes: 3 additions & 0 deletions src/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(library
(name wtf8)
(public_name wtf8))
6 changes: 0 additions & 6 deletions src/jbuild

This file was deleted.

3 changes: 0 additions & 3 deletions wtf8.descr

This file was deleted.

27 changes: 15 additions & 12 deletions wtf8.opam
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
opam-version: "1.2"
opam-version: "2.0"
maintainer: "Marshall Roch <mroch@fb.com>"
authors: ["Marshall Roch <mroch@fb.com>"]
authors: "Marshall Roch <mroch@fb.com>"
license: "MIT"
homepage: "https://github.com/flowtype/ocaml-wtf8"
doc: "https://github.com/flowtype/ocaml-wtf8"
license: "MIT"
dev-repo: "https://github.com/flowtype/ocaml-wtf8.git"
bug-reports: "https://github.com/flowtype/ocaml-wtf8/issues"
tags: []
available: [ ocaml-version >= "4.01.0"]
depends:
[
"jbuilder" {build & >= "1.0+beta7"}
depends: [
"ocaml" {>= "4.01.0"}
"dune" {build & >= "1.0"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depopts: []
build: [["jbuilder" "build" "-p" name "-j" jobs]]
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]
dev-repo: "git+https://github.com/flowtype/ocaml-wtf8.git"
synopsis: "Encoder and decoder for WTF-8"
description: """
WTF-8 is a superset of UTF-8 that allows unpaired surrogates.
"""

0 comments on commit ee5d975

Please sign in to comment.