mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-21 18:02:34 +01:00
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/*/*/*/*)
|
||||
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 New Issue
Block a user