Skip to content

Commit 4fd17f2

Browse files
committed
Added test to see if documentation is up to date.
1 parent eb8d4ad commit 4fd17f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ BIN=node_modules/.bin
22

33
test:
44
make lint
5-
$(BIN)/mocha test/specs/
5+
$(BIN)/mocha test/specs
6+
make docs && git diff master:DOCUMENTATION.md DOCUMENTATION.md
67

78
lint:
89
$(BIN)/eslint bin/doxdox
9-
$(BIN)/eslint lib/
10+
$(BIN)/eslint lib
1011
$(BIN)/eslint index.js
1112
$(BIN)/eslint 'test/specs/**/*.js'
1213

1314
coverage:
1415
$(BIN)/istanbul cover $(BIN)/_mocha test/specs && $(BIN)/codecov
1516

1617
fixtures:
17-
bin/doxdox lib/doxdox.js --output test/fixtures/doxdox.md --package lib/
18+
bin/doxdox lib/doxdox.js --output test/fixtures/doxdox.md --package lib
1819

1920
docs:
2021
bin/doxdox 'lib/**/*.js' -p package.json -l markdown -o DOCUMENTATION.md

0 commit comments

Comments
 (0)