-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (31 loc) · 1.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SOURCES ?= lib/*.js
TESTS ?= test/*.test.js
test: test-mocha
test-cov: test-istanbul-mocha
view-cov: view-istanbul-report
lint: lint-eslint
lint-tests: lint-tests-eslint
# ==============================================================================
# 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/eslint.mk
# ==============================================================================
# Continuous Integration
# ==============================================================================
# CI
ci: 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