simple-node-db
Version:
A document database with query, insert, update, backup/restore and replication implemented on top of levelup, leveldown, and memdown.
31 lines (23 loc) • 512 B
Plain Text
JSFILES=lib/*.js test/*.js test/fixtures/*.js examples/*.js
TESTFILES=test/*.js
JSHINT=node_modules/.bin/jshint
MOCHA=node_modules/.bin/mocha
all:
@make npm
@make test
npm:
@npm install
test:
@( [ -d node_modules ] || make npm )
@( $(MOCHA) $(TESTFILES) && make jshint )
jshint:
@( [ -d node_modules ] || make npm )
@( $(JSHINT) --verbose --reporter node_modules/jshint-stylish/ $(JSFILES) )
watch:
@( ./watcher.js )
edit:
vi -O3 $(JSFILES)