Skip to content

Commit

Permalink
Upgrade jbuilder to dune
Browse files Browse the repository at this point in the history
  • Loading branch information
mroch committed Jun 16, 2019
1 parent 0f9f6b9 commit 913480c
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 66 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ tmp
\#*#
*.install
*.native
*.byte
*.byte
.merlin
.DS_Store
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v0.3.2 2019-06-16
--------------------------

Upgrade jbuilder to dune


v0.3.1 2017-12-06
--------------------------

Expand Down
3 changes: 0 additions & 3 deletions dtoa.descr

This file was deleted.

29 changes: 16 additions & 13 deletions dtoa.opam
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
opam-version: "1.2"
opam-version: "2.0"
maintainer: "Marshall Roch <[email protected]>"
authors: ["Marshall Roch <[email protected]>"]
authors: "Marshall Roch <[email protected]>"
license: "MIT"
homepage: "https://github.com/flowtype/ocaml-dtoa"
doc: "https://github.com/flowtype/ocaml-dtoa"
license: "MIT"
dev-repo: "https://github.com/flowtype/ocaml-dtoa.git"
bug-reports: "https://github.com/flowtype/ocaml-dtoa/issues"
tags: []
available: [ ocaml-version >= "4.01.0"]
depends:
[
"jbuilder" {build & >= "1.0+beta7"}
"ounit" {test & >= "2.0.0"}
depends: [
"ocaml" {>= "4.01.0"}
"dune" {build & >= "1.0"}
"ounit" {with-test & >= "2.0.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-dtoa.git"
synopsis: "Converts OCaml floats into strings (doubles to ascii, 'd to a'), using the efficient Grisu3 algorithm"
description: """
This is a (partial) port of Google's double-conversion library from C++ to C.
"""
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 dtoa)
6 changes: 0 additions & 6 deletions pkg/pkg.ml

This file was deleted.

2 changes: 0 additions & 2 deletions src/.merlin

This file was deleted.

8 changes: 8 additions & 0 deletions src/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(library
(name dtoa)
(public_name dtoa)
(c_names bignum bignum_dtoa cached_powers diy_fp dtoa_stubs ieee fast_dtoa)
(c_flags -std=c99 -g -Wall -Wshadow -Werror -Wextra -Wshadow
-Wno-unused-parameter)
(js_of_ocaml
(javascript_files ../js/dtoa_stubs.js)))
22 changes: 0 additions & 22 deletions src/jbuild

This file was deleted.

7 changes: 0 additions & 7 deletions test/.merlin

This file was deleted.

10 changes: 10 additions & 0 deletions test/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
(executable
(name test)
(libraries dtoa oUnit))

(alias
(name runtest)
(deps
(:< test.exe))
(action
(run %{<})))
12 changes: 0 additions & 12 deletions test/jbuild

This file was deleted.

0 comments on commit 913480c

Please sign in to comment.