javiercejudo/remove-whitespace

View on GitHub
Makefile

Summary

Maintainability
Test Coverage
SRC = index.js

include node_modules/make-lint/index.mk

TESTS = test.js

test: lint
    @NODE_ENV=test ./node_modules/.bin/mocha \
        --require should \
        $(TESTS) \
        --bail

test-cov:
    @NODE_ENV=test node \
        node_modules/.bin/istanbul cover \
        ./node_modules/.bin/_mocha \
        -- -u exports \
        --require should \
        $(TESTS) \
        --bail

test-travis:
    @NODE_ENV=test node \
        node_modules/.bin/istanbul cover \
        ./node_modules/.bin/_mocha \
        --report lcovonly \
        -- -u exports \
        --require should \
        $(TESTS) \
        --bail

.PHONY: test