mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
makefile: compile everything with --profile=release
This commit is contained in:
parent
62e1c3712a
commit
12cb1f91d5
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -6,7 +6,7 @@ build:
|
|||
dune build @install -p $(PACKAGES)
|
||||
|
||||
test: build
|
||||
dune runtest --cache=disabled --no-buffer --force
|
||||
dune runtest --profile=release --cache=disabled --no-buffer --force
|
||||
|
||||
clean:
|
||||
dune clean
|
||||
|
|
@ -21,7 +21,7 @@ benchs:
|
|||
@for i in $(BENCH_TARGETS) ; do ln -sf _build/default/benchs/$$i ; done
|
||||
|
||||
examples:
|
||||
dune build examples/id_sexp.exe
|
||||
dune build --profile=release examples/id_sexp.exe
|
||||
|
||||
VERSION=$(shell awk '/^version:/ {print $$2}' containers.opam)
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ update_next_tag:
|
|||
|
||||
WATCH?=@all
|
||||
watch:
|
||||
@dune build $(WATCH) -w
|
||||
@dune build --profile=release $(WATCH) -w
|
||||
|
||||
reindent:
|
||||
@which ocp-indent || ( echo "require ocp-indent" ; exit 1 )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue