Skip to content

Commit c8c77c2

Browse files
committed
Change build system to use good ol' make
1 parent cf671ff commit c8c77c2

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
22
node_js:
33
- "0.10"
4-
script: "npm run-script coverage"
5-
after_success: "npm run-script coveralls"
4+
script: "make"
5+
after_success: "make coveralls"

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
all: jshint test coverage
2+
3+
setup:
4+
npm install
5+
6+
jshint: setup
7+
jshint algorithms data_structures test util
8+
9+
test: setup
10+
mocha -R spec --recursive test
11+
12+
coverage: setup
13+
istanbul cover ./node_modules/.bin/_mocha -- -R spec --recursive test
14+
15+
coveralls:
16+
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
17+

0 commit comments

Comments
 (0)