Skip to content

Commit

Permalink
Update everything.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drup committed Aug 30, 2018
1 parent defe41e commit 0de0dc9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 23 deletions.
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
default: all

all:
jbuilder build @install --dev

dune build
test:
jbuilder runtest
dune runtest

clean:
jbuilder clean

doc:
jbuilder build @doc
dune clean

.PHONY: all test clean doc
.PHONY: all test clean
11 changes: 4 additions & 7 deletions bytepdf.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ bug-reports: "https://github.com/Drup/bytepdf/issues"
dev-repo: "git+https://github.com/Drup/bytepdf.git"

depends: [
"jbuilder" {build}
"obytelib"
"dune" {build}
"obytelib" { >= "1.4" }
"camlpdf"
]
available: ocaml-version >= "4.03"
build: [
["jbuilder" "subst" "-n" name] {pinned}
["jbuilder" "build" "-p" name "-j" jobs "@install"]
]
build-test: [
["jbuilder" "runtest" "-p" name]
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
]
6 changes: 6 additions & 0 deletions dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(executable
(name bytepdf)
(public_name bytepdf)
(modules Bytepdf)
(libraries obytelib camlpdf cmdliner containers bos))

1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(lang dune 1.1)
8 changes: 0 additions & 8 deletions jbuild

This file was deleted.

0 comments on commit 0de0dc9

Please sign in to comment.