From 904659963b46d62c8a1ee23761b6ba3b8f8d7583 Mon Sep 17 00:00:00 2001 From: HZY Date: Fri, 3 Aug 2018 22:35:24 +0800 Subject: [PATCH] add auto_build.sh --- factory/auto_build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 factory/auto_build.sh diff --git a/factory/auto_build.sh b/factory/auto_build.sh new file mode 100644 index 0000000..07903d4 --- /dev/null +++ b/factory/auto_build.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +Path=/root/Shadowrocket-ADBlock-Rules +cd $Path + +git fetch --all +git reset --hard origin/master + +cd factory +python3 ad.py +python3 gfwlist.py +python3 build_confs.py +cd .. + +git add . +git commit -m "Nightly build" -m "已合并最新的去广告规则及 GFWList" +git push