kmeans-js
Version:
Simple Javascript implementation of the k-means algorithm, for node.js and the browser
31 lines (21 loc) • 375 B
Plain Text
MOCHA_OPTS=
REPORTER = dot
M = ""
check: test
build:
npm version build
coffee --bare --output . src/*.litcoffee
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
$(MOCHA_OPTS)
docs:
docco ./src/*.litcoffee
publish:
git add .
git commint -m $(M)
npm publish
patch:
npm version patch
publish-patch: publish patch