Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (18 sloc) 862 Bytes
run: compile_ext
@PYTHONPATH=.:$$PYTHONPATH python thumbor/ -l debug
python build_ext -i
test pyvows: compile_ext redis mongo
@PYTHONPATH=.:$$PYTHONPATH pyvows -v --profile --cover --cover_package=thumbor --cover_threshold=90 vows/
@make kill_mongo kill_redis
mysql_test: pretest
@PYTHONPATH=.:$$PYTHONPATH nosetests -v -s --with-coverage --cover-erase --cover-package=thumbor tests/
@ps aux | egrep mongod | egrep -v egrep | awk '{ print $$2 }' | xargs kill -9
mongo: kill_mongo
@rm -rf /tmp/thumbor/mongodata && mkdir -p /tmp/thumbor/mongodata
@mongod --dbpath /tmp/thumbor/mongodata --logpath /tmp/thumbor/mongolog --port 7777 --quiet &
@ps aux | egrep redis-server | egrep -v egrep | awk '{ print $$2 }' | xargs kill -9
redis: kill_redis
@redis-server redis.conf &
Jump to Line
Something went wrong with that request. Please try again.