summaryrefslogtreecommitdiffstats
path: root/uAssets/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:47:55 +0000
commit31d6ff6f931696850c348007241195ab3b2eddc7 (patch)
tree615cb1c57ce9f6611bad93326b9105098f379609 /uAssets/Makefile
parentInitial commit. (diff)
downloadublock-origin-31d6ff6f931696850c348007241195ab3b2eddc7.tar.xz
ublock-origin-31d6ff6f931696850c348007241195ab3b2eddc7.zip
Adding upstream version 1.55.0+dfsg.upstream/1.55.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'uAssets/Makefile')
-rw-r--r--uAssets/Makefile83
1 files changed, 83 insertions, 0 deletions
diff --git a/uAssets/Makefile b/uAssets/Makefile
new file mode 100644
index 0000000..7d56331
--- /dev/null
+++ b/uAssets/Makefile
@@ -0,0 +1,83 @@
+.PHONY: \
+ clean \
+ validate-filters \
+ validate-filters-2020 \
+ validate-filters-2021 \
+ validate-filters-2022 \
+ validate-filters-2023 \
+ validate-privacy \
+ validate-annoyances \
+ validate-badware \
+ validate-ubol-filters
+
+build/validate/validate.js: tools/validate/validate.js tools/validate/config.js
+ cp -R tools/validate/* build/validate/
+
+build/validate/uBlock:
+ tools/make-validate.sh
+
+build/validate/results/filters.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/filters.txt \
+ out=build/validate/results
+
+build/validate/results/filters-2020.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/filters-2020.txt \
+ out=build/validate/results
+
+build/validate/results/filters-2021.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/filters-2021.txt \
+ out=build/validate/results
+
+build/validate/results/filters-2022.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/filters-2022.txt \
+ out=build/validate/results
+
+build/validate/results/filters-2023.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/filters-2023.txt \
+ out=build/validate/results
+
+build/validate/results/privacy.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/privacy.txt \
+ out=build/validate/results
+
+build/validate/results/annoyances.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/annoyances.txt \
+ out=build/validate/results
+
+build/validate/results/badware.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/badware.txt \
+ out=build/validate/results
+
+build/validate/results/ubol-filters.results.txt: build/validate/uBlock build/validate/validate.js
+ node build/validate/validate.js \
+ in=filters/ubol-filters.txt \
+ out=build/validate/results
+
+validate-filters: build/validate/results/filters.results.txt
+
+validate-filters-2020: build/validate/results/filters-2020.results.txt
+
+validate-filters-2021: build/validate/results/filters-2021.results.txt
+
+validate-filters-2022: build/validate/results/filters-2022.results.txt
+
+validate-filters-2023: build/validate/results/filters-2023.results.txt
+
+validate-privacy: build/validate/results/privacy.results.txt
+
+validate-annoyances: build/validate/results/annoyances.results.txt
+
+validate-badware: build/validate/results/badware.results.txt
+
+validate-ubol-filters: build/validate/results/ubol-filters.results.txt
+
+clean:
+ rm -rf build