Skip to content

Commit d0fafa7

Browse files
rgrinbergjordwalke
authored andcommitted
Update makefile to use jbuilder
1 parent ca16331 commit d0fafa7

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

Makefile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# topkg (https://github.com/dbuenzli/topkg) is a small native packager for your lib
2-
# http://erratique.ch/software/topkg/doc/Topkg.html#basics
31
build:
4-
cp pkg/META.in pkg/META
5-
ocamlbuild -package topkg pkg/build.native
6-
./build.native build
2+
jbuilder build
3+
4+
test:
5+
jbuilder runtest
76

87
# some boilerplate to publish a new version to GitHub
98
release:
@@ -14,6 +13,6 @@ release:
1413
git push "git@github.com:reasonml/ReasonNativeProject.git" tag $(version)
1514

1615
clean:
17-
ocamlbuild -clean
16+
rm -rf _build
1817

19-
.PHONY: build release
18+
.PHONY: build release test

0 commit comments

Comments
 (0)