Initial commit

This commit is contained in:
WatermelonModders
2022-05-31 12:35:46 -04:00
commit fc5cb0c32c
4097 changed files with 447075 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
REPORTER = spec
test:
@$(MAKE) lint
@echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@NODE_ENV=test ./node_modules/.bin/mocha -b --reporter $(REPORTER)
lint:
./node_modules/.bin/jshint ./lib ./test ./index.js
test-cov:
$(MAKE) lint
@NODE_ENV=test ./node_modules/.bin/istanbul cover \
./node_modules/mocha/bin/_mocha -- -R spec
test-coveralls:
@NODE_ENV=test ./node_modules/.bin/istanbul cover \
./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && \
cat ./coverage/lcov.info | ./bin/coveralls.js --verbose
.PHONY: test