From 0d976d049c2267684c2bff7fd836d9ffc36f455a Mon Sep 17 00:00:00 2001 From: Manish Jethani Date: Tue, 10 Aug 2021 23:20:06 +0530 Subject: [PATCH] Add test target to makefile (#3810) --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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