longstem/flask-slack-events

View on GitHub
Makefile

Summary

Maintainability
Test Coverage

help:
    @echo "Please use 'make <target>' where <target> is one of"
    @echo "  test        Runs tests"
    @echo "  test-all    Runs tests using tox"
    @echo "  release     Makes a release"

test:
    @pytest tests

coverage:
    @pytest\
        --verbose \
        --cov flask_slack \
        --cov-config .coveragerc \
        --cov-report term \
        --cov-report xml

test-all:
    @tox

release:
    @python setup.py sdist upload
    @python setup.py bdist_wheel upload

.PHONY: help test coverage test-all release