dodb.cr/Makefile

18 lines
286 B
Makefile
Raw Normal View History

2024-05-06 14:41:07 +02:00
all: build
2024-05-11 01:49:06 +02:00
OPTS ?= --progress --no-debug
2024-05-06 14:41:07 +02:00
Q ?= @
SHOULD_UPDATE = ./bin/should-update
DBDIR=/tmp/tests-on-dodb
benchmark-cars:
2024-05-11 01:49:06 +02:00
$(Q)crystal build spec/benchmark-cars.cr $(OPTS) --release
2024-05-06 14:41:07 +02:00
build: benchmark-cars
wipe-db:
rm -r $(DBDIR)
release:
make build OPTS="--release --progress"