You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Below build, coverage and clean tasks were partly lifted from https://github.com/geo-data/node-mapserv/blob/e99b23a44d910d444f5a45d144859758f820e1d1/Makefile
45
+
# @author danschultzer
46
+
47
+
# The location of the `istanbul` JS code coverage framework. Try and get a
48
+
# globally installed version, falling back to a local install.
49
+
ISTANBUL := $(shell which istanbul)
50
+
ifeq ($(ISTANBUL),)
51
+
ISTANBUL = ./node_modules/.bin/istanbul/lib/cli.js
52
+
endif
53
+
54
+
# The location of the `node-pre-gyp` module builder. Try and get a globally
55
+
# installed version, falling back to a local install.
Using [tape](https://github.com/substack/tape). Run with command:
229
+
230
+
`npm test`.
231
+
232
+
## Code coverage
233
+
234
+
Using [istanbul](http://gotwarlost.github.io/istanbul/) and [lcov](http://ltp.sourceforge.net/coverage/lcov.php). Run with command:
235
+
236
+
`make cover`
237
+
238
+
Build version of `opencv.node` will be generated, and coverage files will be put in `coverage/` directory. These files can be remvoved automatically by running `make clean`.
239
+
226
240
## MIT License
227
241
The library is distributed under the MIT License - if for some reason that
0 commit comments