pipe to tap-spec in Makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -50,11 +50,11 @@ $(MBGL)/config/%.gypi: $(MBGL) $(MBGL)/configure
|
||||
|
||||
.PHONY: test-suite
|
||||
test-suite: build
|
||||
-@`npm bin`/tape test/render.test.js
|
||||
-@(`npm bin`/tape test/render.test.js | `npm bin`/tap-spec)
|
||||
|
||||
.PHONY: test-js
|
||||
test-js: build
|
||||
@`npm bin`/tape test/js/**/*.test.js
|
||||
@(`npm bin`/tape test/js/**/*.test.js | `npm bin`/tap-spec)
|
||||
|
||||
.PHONY: test
|
||||
test: test-js test-suite
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"install": "node-pre-gyp install || make",
|
||||
"test": "make test | tap-spec",
|
||||
"test": "make test",
|
||||
"rebuild": "make clean && make"
|
||||
},
|
||||
"gypfile": true,
|
||||
|
||||
Reference in New Issue
Block a user