Permalink
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (22 sloc) 876 Bytes
ESLINT=./node_modules/.bin/eslint
TAP=./node_modules/.bin/tap
# ------------------------------------------------------------------------------
# Builds a JSON representation of the raw AFINN word list
build:
node ./build/index.js
# ------------------------------------------------------------------------------
lint:
$(ESLINT) ./lib/*.js
$(ESLINT) ./build/*.js
$(ESLINT) ./test/**/*.js
test:
@make lint
$(TAP) ./test/{unit,integration}/*.js
# ------------------------------------------------------------------------------
coverage:
$(TAP) ./test/{integration,unit}/*.js --coverage --coverage-report=lcov
# ------------------------------------------------------------------------------
benchmark:
node ./test/benchmark/performance.js
# ------------------------------------------------------------------------------
.PHONY: build lint test coverage benchmark