Sun calculation js library which is fully based on formula from http://aa.quae.nl/en/reken/zonpositie.html
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
588 B
21 lines
588 B
7 years ago
|
REPORTER = spec
|
||
|
test:
|
||
|
@NODE_ENV=test ./node_modules/.bin/mocha -b --reporter $(REPORTER) --check-leaks
|
||
|
|
||
|
lint:
|
||
|
./node_modules/.bin/jshint ./test ./index.js
|
||
|
|
||
|
test-cov:
|
||
|
$(MAKE) lint
|
||
|
@NODE_ENV=test ./node_modules/.bin/istanbul cover \
|
||
|
./node_modules/mocha/bin/_mocha -- -R spec --check-leaks
|
||
|
|
||
|
test-coveralls:
|
||
|
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
|
||
|
$(MAKE) test
|
||
|
@NODE_ENV=test ./node_modules/.bin/istanbul cover \
|
||
|
./node_modules/mocha/bin/_mocha --check-leaks --report lcovonly -- -R spec && \
|
||
|
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true
|
||
|
|
||
|
.PHONY: test
|