0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-02-06 06:20:03 +00:00
alerta_alerta/Makefile
Nick Satterly 945e256ca4 fix tests
2014-12-15 21:11:00 +00:00

30 lines
412 B
Makefile

PYTHON = python
all: help
help:
@echo ""
@echo "Usage: make <command>"
@echo ""
@echo "Commands:"
@echo " init Initialise environment"
@echo " pylint Lint source code"
@echo " test Run tests"
@echo ""
init:
pip install -r requirements.txt
pylint:
@pip -q install pylint
pylint --rcfile pylintrc alerta
test:
nosetests tests
run:
alertad
upload:
$(PYTHON) setup.py sdist upload