0f90d687c7
Closes #98 Raises minimum required redis version to 2.4.0+ (Debian stable has 2.4.14)
36 lines
710 B
Makefile
36 lines
710 B
Makefile
srcdir=$(shell pwd)
|
|
|
|
all:
|
|
npm install
|
|
|
|
clean:
|
|
rm -rf node_modules/*
|
|
|
|
distclean: clean
|
|
rm config.status*
|
|
|
|
config.status--test:
|
|
./configure --environment=test
|
|
|
|
config/environments/test.js: config.status--test
|
|
./config.status--test
|
|
|
|
check-local: config/environments/test.js
|
|
./run_tests.sh ${RUNTESTFLAGS} \
|
|
test/unit/cartodb/*.js \
|
|
test/acceptance/*.js
|
|
|
|
check-submodules:
|
|
PATH="$$PATH:$(srcdir)/node_modules/.bin/"; \
|
|
for sub in windshaft grainstore node-varnish mapnik; do \
|
|
if test -e node_modules/$${sub}; then \
|
|
echo "Testing submodule $${sub}"; \
|
|
make -C node_modules/$${sub} check || exit 1; \
|
|
fi; \
|
|
done
|
|
|
|
check-full: check-local check-submodules
|
|
|
|
check: check-local
|
|
|