mirror of
https://github.com/alerta/alerta.git
synced 2025-01-24 17:29:39 +00:00
21 lines
No EOL
363 B
Makefile
21 lines
No EOL
363 B
Makefile
all: help
|
|
|
|
help:
|
|
clear
|
|
@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 --use-mirrors
|
|
|
|
pylint:
|
|
pylint --rcfile pylintrc alerta
|
|
|
|
test:
|
|
nosetests tests
|