-
Notifications
You must be signed in to change notification settings - Fork 67
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
1 parent
2205946
commit 8952d65
Showing
2 changed files
with
8 additions
and
21 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 |
---|---|---|
@@ -1,22 +1,15 @@ | ||
.DEFAULT_GOAL: all | ||
.PHONY: default build clean test examples | ||
|
||
JBUILDER ?= dune | ||
default: build | ||
|
||
all: | ||
@$(JBUILDER) build @install @DEFAULT | ||
build: | ||
dune build @check | ||
|
||
check: | ||
@$(JBUILDER) runtest | ||
clean: | ||
dune clean | ||
|
||
test: check | ||
test: | ||
dune runtest -f | ||
|
||
README.md: README.cpp.md $(wildcard examples/*.ml) | ||
@cppo -n $< -o $@ | ||
|
||
clean: | ||
@$(JBUILDER) clean | ||
|
||
.PHONY: all clean check test | ||
|
||
all-supported-ocaml-versions: | ||
$(JBUILDER) runtest --workspace dune-workspace.dev |
This file was deleted.
Oops, something went wrong.