mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
chore: makefile runs everything in release mode
This commit is contained in:
parent
c907dc6af1
commit
ed0f016f27
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
|
@ -2,11 +2,12 @@
|
|||
|
||||
all: build test
|
||||
|
||||
OPTS?=--profile=release
|
||||
build:
|
||||
@dune build @install
|
||||
@dune build @install $(OPTS)
|
||||
|
||||
test:
|
||||
@dune runtest --no-buffer --force
|
||||
@dune runtest --no-buffer --force $(OPTS)
|
||||
|
||||
clean:
|
||||
@dune clean
|
||||
|
|
@ -16,7 +17,7 @@ doc:
|
|||
|
||||
WATCH?= "@install @runtest"
|
||||
watch:
|
||||
@dune build $(WATCH) -w
|
||||
@dune build $(OPTS) $(WATCH) -w
|
||||
|
||||
.PHONY: benchs tests build watch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue