@heroku/no-kafka
Version:
Apache Kafka 0.9 client for Node.JS
27 lines (18 loc) • 499 B
Plain Text
ISTANBUL = ./node_modules/.bin/istanbul
ESLINT = ./node_modules/.bin/eslint
MOCHA = ./node_modules/.bin/mocha
all: lint test coverage
# Tests
test:
@$(ISTANBUL) cover --report lcov --report text --report html _mocha
# Check code style
lint:
@$(ESLINT) 'lib/**/*.js' 'test/**/*.js'
# Check coverage levels
coverage:
@$(ISTANBUL) check-coverage --statement 85 --branch 70 --function 85
# Clean up
clean: clean-cov
clean-cov:
@rm -rf coverage