Skip to content

Commit b03f900

Browse files
committed
Merge pull request EFForg#433 from EFForg/rules_list
Check in static rules_list.js
2 parents 5a14620 + 487e665 commit b03f900

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

chromium/rule_list.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var rule_list = [
2+
"rules/default.rulesets",
3+
];

makecrx.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ cd ../..
9090

9191
cp src/$RULESETS pkg/crx/rules/default.rulesets
9292

93-
echo 'var rule_list = [' > pkg/crx/rule_list.js
94-
for i in $(find pkg/crx/rules/ -maxdepth 1 \( -name '*.xml' -o -name '*.rulesets' \))
95-
do
96-
echo "\"rules/$(basename $i)\"," >> pkg/crx/rule_list.js
97-
done
98-
echo '];' >> pkg/crx/rule_list.js
9993
sed -i -e "s/VERSION/$VERSION/g" pkg/crx/manifest.json
10094
#sed -i -e "s/VERSION/$VERSION/g" pkg/crx/updates.xml
10195
#sed -e "s/VERSION/$VERSION/g" pkg/updates-master.xml > pkg/crx/updates.xml

0 commit comments

Comments
 (0)