diff --git a/Makefile b/Makefile index e1d889e7c..40dee07e2 100644 --- a/Makefile +++ b/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