File tree Expand file tree Collapse file tree 10 files changed +28
-39
lines changed Expand file tree Collapse file tree 10 files changed +28
-39
lines changed Original file line number Diff line number Diff line change 66* .native
77* .byte
88* .install
9+ .merlin
Original file line number Diff line number Diff line change 11# This makefile is used for dev convenience. It is removed
22# by the distribution process.
33
4- .PHONY : lib test doc clean
4+ .PHONY : build doc clean
55
6- lib :
7- topkg build
8-
9- test :
10- topkg build
11- topkg test
6+ build :
7+ jbuilder build -j16
128
139doc :
14- topkg doc
10+ @echo " waiting for jbuilder odoc support"
11+ @# topkg doc
1512
1613clean :
17- topkg clean
14+ -rm -R _build
15+ -rm octavius.install
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ tags: ["doc" "ocamldoc" "org:ocaml-doc"]
1212available: [ ocaml-version >= "4.03.0"]
1313depends: [
1414 "ocamlfind" {build}
15- "ocamlbuild " {build}
15+ "jbuilder " {build}
1616 "topkg" {build & >= "0.7.5"} ]
1717
18- build: [[
19- "ocaml" "pkg/pkg.ml" "build"
20- "--pinned" "%{pinned}%" ]]
18+ build: [
19+ ["jbuilder" "subst"] {pinned}
20+ ["jbuilder" "build" "-p" name "-j" jobs]
21+ ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# ! / usr/ bin/ env ocaml
22#use " topfind"
3- #require " topkg"
4- open Topkg
5-
6- let () =
7- Pkg. describe " octavius" @@ fun c ->
8- Ok [ Pkg. lib ~exts: (Exts. ext " .cmi" ) " src/octTypes" ;
9- Pkg. mllib " src/octavius.mllib" ;
10- Pkg. test ~run: false " test/main" ]
3+ #require " topkg-jbuilder.auto"
Original file line number Diff line number Diff line change 1+ (jbuild_version 1)
2+
3+ (ocamllex (octLexer))
4+ (ocamlyacc (octParser))
5+
6+ (library
7+ ((name octavius)
8+ (public_name octavius)))
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ (jbuild_version 1)
2+
3+ (executable
4+ ((name main)
5+ (public_name octavius)
6+ (libraries (octavius))))
You can’t perform that action at this time.
0 commit comments