mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Add test target to makefile (#3810)
This commit is contained in:
parent
06a0dbc348
commit
0d976d049c
1 changed files with 4 additions and 1 deletions
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/*/*/*/*)
|
||||
platform := $(wildcard platform/* platform/*/*)
|
||||
|
@ -32,6 +32,9 @@ lint: nodejs
|
|||
dist/build/uBlock0.nodejs/js \
|
||||
dist/build/uBlock0.nodejs/*.js
|
||||
|
||||
test: nodejs
|
||||
cd dist/build/uBlock0.nodejs && npm run test
|
||||
|
||||
# Update submodules.
|
||||
update-submodules:
|
||||
tools/update-submodules.sh
|
||||
|
|
Loading…
Reference in a new issue