-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,14 @@ | |
# ocamlbuild. | ||
# Docs: https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc | ||
|
||
all: byte library | ||
|
||
byte: | ||
rebuild -use-ocamlfind src/ReasonNativeProject.byte | ||
|
||
build: | ||
rebuild -use-ocamlfind src/index.native | ||
rebuild -use-ocamlfind src/ReasonNativeProject.cma | ||
rebuild -use-ocamlfind src/ReasonNativeProject.cmxa | ||
|
||
# some boilerplate to publish a new version to GitHub | ||
release: | ||
|
@@ -15,6 +21,6 @@ release: | |
git push "[email protected]:reasonml/ReasonNativeProject.git" tag $(version) | ||
|
||
clean: | ||
rm -rf _build index.native | ||
rm -rf _build ReasonNativeProject.byte | ||
|
||
.PHONY: build release |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters