mirror of
https://github.com/kanaka/mal.git
synced 2024-09-20 18:18:51 +03:00
a816262a05
Convert numeric to Long. Add time-ms. Add Makefile for stats targets.
21 lines
344 B
Makefile
21 lines
344 B
Makefile
TESTS =
|
|
|
|
SOURCES_BASE = types.scala reader.scala printer.scala
|
|
SOURCES_LISP = env.scala core.scala stepA_interop.scala
|
|
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
|
|
|
|
#all: mal.scala
|
|
|
|
.PHONY: stats tests $(TESTS)
|
|
|
|
stats: $(SOURCES)
|
|
@wc $^
|
|
stats-lisp: $(SOURCES_LISP)
|
|
@wc $^
|
|
|
|
tests: $(TESTS)
|
|
|
|
$(TESTS):
|
|
@echo "Running $@"; \
|
|
ruby $@ || exit 1; \
|