-
Notifications
You must be signed in to change notification settings - Fork 774
/
Makefile
91 lines (68 loc) · 2.97 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.PHONY: \
clean \
validate-filters \
validate-filters-2020 \
validate-filters-2021 \
validate-filters-2022 \
validate-filters-2023 \
validate-filters-2024 \
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/filters-2024.results.txt: build/validate/uBlock build/validate/validate.js
node build/validate/validate.js \
in=filters/filters-2024.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-filters-2024: build/validate/results/filters-2024.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