summaryrefslogtreecommitdiffstats
path: root/uAssets/tools/make-ublock.sh
blob: f35fb139b510dbe2c49e9a8f4691f9de842e9b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
#
# This script assumes a linux environment

echo "*** uAssets: Assembling filters/filters.txt"
node ./tools/make-easylist.mjs in=templates/ublock-filters.template out=filters/filters.min.txt minify=1

echo "*** uAssets: Assembling filters/quick-fixes.txt"
node ./tools/make-easylist.mjs in=templates/ublock-quick-fixes.template out=filters/quick-fixes.min.txt minify=1

echo "*** uAssets: Assembling filters/privacy.txt"
node ./tools/make-easylist.mjs in=templates/ublock-privacy.template out=filters/privacy.min.txt minify=1

echo "*** uAssets: Assembling filters/unbreak.txt"
node ./tools/make-easylist.mjs in=templates/ublock-unbreak.template out=filters/unbreak.min.txt minify=1

echo "*** uAssets: Assembling filters/badware.txt"
node ./tools/make-easylist.mjs in=templates/ublock-badware.template out=filters/badware.min.txt minify=1

echo "*** uAssets: Assembling filters/annoyances.txt"
node ./tools/make-easylist.mjs in=templates/ublock-annoyances.template out=filters/annoyances.min.txt minify=1