fanboy-adblock/zzz.bat
2010-08-02 15:21:38 +10:00

42 lines
1.6 KiB
Batchfile

@echo off
hg update
hg pull --rebase remote
hg pull
:: Firefox
perl addChecksum.pl fanboy-adblocklist-adult.txt
perl addChecksum.pl fanboy-adblocklist-current-expanded.txt
perl addChecksum.pl fanboy-adblocklist-stats.txt
perl addChecksum.pl fanboy-adblocklist-dimensions-v2.txt
perl addChecksum.pl fanboy-adblocklist-current-p2p.txt
perl addChecksum.pl fanboy-adblocklist-stats-intl.txt
perl addChecksum.pl fanboy-adblocklist-addon.txt
perl addChecksum.pl adblock-gannett.txt
:: Firefox Regional lists
perl addChecksum.pl firefox-regional\fanboy-adblocklist-chn.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-cz.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-esp.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-ita.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-jpn.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-krn.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-rus-v2.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-swe.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-tky.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-vtn.txt
perl addChecksum.pl firefox-regional\fanboy-adblocklist-ind.txt
:: Opera
perl addChecksum.pl opera\fanboy-adblocklist-elements-v3.css
perl addChecksum-opera.pl opera\urlfilter.ini
:: Iron
perl addChecksum-opera.pl iron/adblock-beta.ini
:: Now sync
hg add .
hg commit -m "%*"
hg push
echo.
echo.
@echo Waiting to ensure changes have had enough time to show on google code site...
echo.
timeout /T 10
Start "C:\Program Files (x86)\Minefield\firefox.exe" "http://code.google.com/p/fanboy-adblock-list/updates/list"