File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1+ # This example project uses rebuild, which is a simple wrapper around
2+ # ocamlbuild.
3+ # Docs: https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc
4+
35build :
4- cp pkg/META.in pkg/META
5- ocamlbuild -package topkg pkg/build.native
6- ./build.native build
6+ rebuild -use-ocamlfind src/index.native
77
88# some boilerplate to publish a new version to GitHub
99release :
@@ -14,6 +14,6 @@ release:
1414 git push " git@github.com:reasonml/ReasonNativeProject.git" tag $(version )
1515
1616clean :
17- ocamlbuild -clean
17+ rm -rf _build
1818
1919.PHONY : build release
Original file line number Diff line number Diff line change 11<node_modules>: -traverse
2+
3+
4+ # To add opam dependencies you can comment out the line below and list however
5+ # many deps like: package(unix), package(lwt), package(whateverelse)
6+ #
7+ # true: package(unix)
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,4 +6,3 @@ let msg = "Hello Reason!";
66print_string msg;
77print_newline () ;
88print_string "!!!!!!\n " ;
9-
You can’t perform that action at this time.
0 commit comments