mirror of
https://github.com/hanzoai/passport-github.git
synced 2026-09-23 23:48:07 +00:00
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
SOURCES ?= lib/*.js
|
|
TESTS ?= test/*.test.js
|
|
|
|
test: test-mocha
|
|
test-cov: test-istanbul-mocha
|
|
view-cov: view-istanbul-report
|
|
lint: lint-jshint
|
|
lint-tests: lint-tests-jshint
|
|
|
|
|
|
# ==============================================================================
|
|
# Node.js
|
|
# ==============================================================================
|
|
include support/mk/node.mk
|
|
include support/mk/mocha.mk
|
|
include support/mk/istanbul.mk
|
|
|
|
# ==============================================================================
|
|
# Analysis
|
|
# ==============================================================================
|
|
include support/mk/notes.mk
|
|
include support/mk/jshint.mk
|
|
|
|
# ==============================================================================
|
|
# Reports
|
|
# ==============================================================================
|
|
include support/mk/coveralls.mk
|
|
|
|
# ==============================================================================
|
|
# Continuous Integration
|
|
# ==============================================================================
|
|
submit-cov-to-coveralls: submit-istanbul-lcov-to-coveralls
|
|
|
|
# Travis CI
|
|
ci-travis: test test-cov
|
|
|
|
# ==============================================================================
|
|
# Clean
|
|
# ==============================================================================
|
|
clean:
|
|
rm -rf build
|
|
rm -rf reports
|
|
|
|
clobber: clean clobber-node
|
|
|
|
|
|
.PHONY: test test-cov view-cov lint lint-tests submit-cov-to-coveralls ci-travis clean clobber
|