mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-13 17:12:41 +08:00
update scripts
This commit is contained in:
parent
aac3448189
commit
5b1e3ea9e5
@ -109,10 +109,3 @@ cat easylist*.txt | grep -E "^\|\|?([^\^=\/:]+)?\*([^\^=\/:]+)?\^" | sort | uniq
|
|||||||
cat easylist*.txt | grep -E "^@@\|\|?[^\^=\/:]+?\^([^\/=\*]+)?$" | sort | uniq >whiterule-src-easylist.txt
|
cat easylist*.txt | grep -E "^@@\|\|?[^\^=\/:]+?\^([^\/=\*]+)?$" | sort | uniq >whiterule-src-easylist.txt
|
||||||
|
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
php make-addr.php
|
|
||||||
echo
|
|
||||||
cp ../anti-ad-easylist.txt ../anti-ad-adguard.txt
|
|
||||||
php ./tools/adguard-extend.php ../anti-ad-adguard.txt
|
|
||||||
echo
|
|
||||||
php ./tools/easylist-extend.php ../anti-ad-easylist.txt
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
source /etc/profile
|
|
||||||
|
|
||||||
cd $(cd "$(dirname "$0")";pwd)
|
|
||||||
git pull
|
|
||||||
|
|
||||||
shopt -s expand_aliases
|
|
||||||
alias php='/usr/local/php/bin/php'
|
|
||||||
export PHP_RET=$(. ./start-ci.sh | tail -1)
|
|
||||||
|
|
||||||
git add -A adblock-for-dnsmasq.conf origin-files/*
|
|
||||||
git commit -am "auto commit. $PHP_RET"
|
|
||||||
git push --force
|
|
Loading…
Reference in New Issue
Block a user