File tree 9 files changed +39
-39
lines changed
9 files changed +39
-39
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : all test benchmark doc repl clean gh-pages
2
2
3
3
all :
4
- jbuilder build --dev
4
+ dune build
5
5
6
6
test :
7
- jbuilder runtest --dev
7
+ dune runtest
8
8
9
9
benchmark :
10
- jbuilder build benchmark/bench.exe
11
- _build/default/benchmark/bench.exe
10
+ dune exec benchmark/bench.exe
12
11
13
12
doc :
14
- jbuilder build @doc
13
+ dune build @doc
15
14
16
15
repl :
17
- jbuilder utop src
16
+ dune utop src
18
17
19
18
clean :
20
- jbuilder clean
19
+ dune clean
21
20
22
21
gh-pages : doc
23
22
git clone ` git config --get remote.origin.url` .gh-pages --reference .
Original file line number Diff line number Diff line change
1
+ (executable
2
+ (name bench)
3
+ (libraries ezgzip benchmark))
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ (lang dune 1 .0)
2
+ (name ezgzip)
Original file line number Diff line number Diff line change 1
- opam-version: "1.2 "
1
+ opam-version: "2.0 "
2
2
maintainer: "Hezekiah M. Carty <
[email protected] >"
3
3
authors: [ "Hezekiah M. Carty <
[email protected] >" ]
4
4
license: "MIT"
5
+ synopsis: "Simple gzip (de)compression library"
5
6
homepage: "https://github.com/hcarty/ezgzip"
6
- dev-repo: "https://github.com/hcarty/ezgzip.git"
7
+ dev-repo: "git+ https://github.com/hcarty/ezgzip.git"
7
8
bug-reports: "https://github.com/hcarty/ezgzip/issues"
8
- build: ["jbuilder" "build" "-p" name "-j" jobs]
9
- build-test: ["jbuilder" "runtest" "-p" name]
10
- build-doc: [ "jbuilder" "build" "@doc" "-p" name]
9
+ build: [
10
+ ["dune" "build" "-p" name "-j" jobs]
11
+ ["dune" "runtest" "-p" name "-j" jobs] {with-test}
12
+ ["dune" "build" "-p" name "-j" jobs] {with-doc}
13
+ ]
11
14
depends: [
12
- "alcotest" {test & >= "0.8.1"}
15
+ "alcotest" {with- test & >= "0.8.1"}
13
16
"astring"
14
- "benchmark" {test & >= "1.4"}
15
- "jbuilder " {build & >= "1.0+beta13 "}
17
+ "benchmark" {with- test & >= "1.4"}
18
+ "dune " {>= "1.0"}
16
19
"ocplib-endian"
17
- "odoc" {doc & >= "1.1.1"}
18
- "qcheck" {test & >= "0.7"}
20
+ "odoc" {with- doc & >= "1.1.1"}
21
+ "qcheck" {with- test & >= "0.7"}
19
22
"rresult"
20
23
"camlzip"
24
+ "ocaml" {>= "4.03.0"}
21
25
]
22
- available: [ ocaml-version >= "4.03.0" ]
Original file line number Diff line number Diff line change
1
+ (library
2
+ (name ezgzip)
3
+ (public_name ezgzip)
4
+ (libraries astring ocplib-endian rresult camlzip))
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ (executable
2
+ (name test)
3
+ (libraries alcotest ezgzip qcheck))
4
+
5
+ (alias
6
+ (name runtest)
7
+ (deps
8
+ (:< test.exe))
9
+ (action
10
+ (run %{<} --color=always)))
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments