Add a sample makefile.
This commit is contained in:
parent
061e945384
commit
0d0acc8dff
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
all: build
|
||||||
|
|
||||||
|
OPTS ?= --progress
|
||||||
|
Q ?= @
|
||||||
|
SHOULD_UPDATE = ./bin/should-update
|
||||||
|
DBDIR=/tmp/tests-on-dodb
|
||||||
|
|
||||||
|
benchmark-cars:
|
||||||
|
$(Q)crystal build spec/benchmark-cars.cr $(OPTS)
|
||||||
|
|
||||||
|
build: benchmark-cars
|
||||||
|
|
||||||
|
wipe-db:
|
||||||
|
rm -r $(DBDIR)
|
||||||
|
|
||||||
|
release:
|
||||||
|
make build OPTS="--release --progress"
|
Loading…
Reference in New Issue
Block a user