mirror of https://github.com/gorhill/uBlock.git
Add test target to makefile (#3810)
This commit is contained in:
parent
06a0dbc348
commit
0d976d049c
5
Makefile
5
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: all clean lint chromium firefox nodejs
|
.PHONY: all clean test lint chromium firefox nodejs
|
||||||
|
|
||||||
sources := $(wildcard src/* src/*/* src/*/*/* src/*/*/*/*)
|
sources := $(wildcard src/* src/*/* src/*/*/* src/*/*/*/*)
|
||||||
platform := $(wildcard platform/* platform/*/*)
|
platform := $(wildcard platform/* platform/*/*)
|
||||||
|
@ -32,6 +32,9 @@ lint: nodejs
|
||||||
dist/build/uBlock0.nodejs/js \
|
dist/build/uBlock0.nodejs/js \
|
||||||
dist/build/uBlock0.nodejs/*.js
|
dist/build/uBlock0.nodejs/*.js
|
||||||
|
|
||||||
|
test: nodejs
|
||||||
|
cd dist/build/uBlock0.nodejs && npm run test
|
||||||
|
|
||||||
# Update submodules.
|
# Update submodules.
|
||||||
update-submodules:
|
update-submodules:
|
||||||
tools/update-submodules.sh
|
tools/update-submodules.sh
|
||||||
|
|
Loading…
Reference in New Issue