Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opam file to OPAM 2 format #66

Merged
merged 2 commits into from
Dec 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_build
/_build/
/_opam/
NathanReb marked this conversation as resolved.
Show resolved Hide resolved
.merlin
*.install
/*.install
30 changes: 20 additions & 10 deletions yojson.opam
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
opam-version: "1.2"
opam-version: "2.0"
maintainer: "[email protected]"
authors: ["Martin Jambon"]
homepage: "https://mjambon.github.io/mjambon2016/yojson-doc/Yojson.html"
bug-reports: "https://github.com/mjambon/yojson/issues"
dev-repo: "https://github.com/mjambon/yojson.git"
available: [ ocaml-version >= "4.02.3"]
homepage: "https://github.com/ocaml-community/yojson"
bug-reports: "https://github.com/ocaml-community/yojson/issues"
dev-repo: "git+https://github.com/ocaml-community/yojson.git"
doc: "https://ocaml-community.github.io/yojson/"
build: [
["jbuilder" "subst" "-n" name] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
]

build-test: [
["jbuilder" "runtest" "-p" name]
]

run-test: ["jbuilder" "runtest" "-p" name]
depends: [
"ocaml" {>= "4.02.3"}
"jbuilder" {build}
"cppo" {build}
"easy-format"
"biniou" {>= "1.2.0"}
]
synopsis:
"Yojson is an optimized parsing and printing library for the JSON format"
description: """
NathanReb marked this conversation as resolved.
Show resolved Hide resolved
Yojson is an optimized parsing and printing library for the JSON format.

It addresses a few shortcomings of json-wheel including 2x speedup,
polymorphic variants and optional syntax for tuples and variants.

ydump is a pretty-printing command-line program provided with the
yojson package.

The program atdgen can be used to derive OCaml-JSON serializers and
deserializers from type definitions."""