1
0
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:
Manish Jethani 2021-08-10 23:20:06 +05:30 committed by GitHub
parent 06a0dbc348
commit 0d976d049c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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