From 5b1e3ea9e52ef7713e1942eb332e4a930b0bfb40 Mon Sep 17 00:00:00 2001 From: gently <1243610+gentlyxu@users.noreply.github.com> Date: Fri, 28 May 2021 20:45:39 +0800 Subject: [PATCH] update scripts --- scripts/{make-all-list.sh => build-list.sh} | 0 scripts/{start-ci.sh => prepare-upstream.sh} | 7 ------- scripts/start.sh | 14 -------------- 3 files changed, 21 deletions(-) rename scripts/{make-all-list.sh => build-list.sh} (100%) rename scripts/{start-ci.sh => prepare-upstream.sh} (95%) delete mode 100755 scripts/start.sh diff --git a/scripts/make-all-list.sh b/scripts/build-list.sh similarity index 100% rename from scripts/make-all-list.sh rename to scripts/build-list.sh diff --git a/scripts/start-ci.sh b/scripts/prepare-upstream.sh similarity index 95% rename from scripts/start-ci.sh rename to scripts/prepare-upstream.sh index ab7a3f0f..a80c5b43 100755 --- a/scripts/start-ci.sh +++ b/scripts/prepare-upstream.sh @@ -109,10 +109,3 @@ cat easylist*.txt | grep -E "^\|\|?([^\^=\/:]+)?\*([^\^=\/:]+)?\^" | sort | uniq cat easylist*.txt | grep -E "^@@\|\|?[^\^=\/:]+?\^([^\/=\*]+)?$" | sort | uniq >whiterule-src-easylist.txt 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 diff --git a/scripts/start.sh b/scripts/start.sh deleted file mode 100755 index 1e261005..00000000 --- a/scripts/start.sh +++ /dev/null @@ -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