aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets/buildCombinedRules.sh
diff options
context:
space:
mode:
Diffstat (limited to 'exampleData/ruleSets/buildCombinedRules.sh')
-rwxr-xr-xexampleData/ruleSets/buildCombinedRules.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/exampleData/ruleSets/buildCombinedRules.sh b/exampleData/ruleSets/buildCombinedRules.sh
index df4782d..f4bad1c 100755
--- a/exampleData/ruleSets/buildCombinedRules.sh
+++ b/exampleData/ruleSets/buildCombinedRules.sh
@@ -3,6 +3,9 @@
# This script builds a collection of FiveUI rulesets (contained in various .json files)
# into a combined rule sets file: combinedRules.json.
#
+# For the script to work, the input .json files must have rules separated by
+# comment lines starting with //---. Also, the last rule in the file must be
+# followed by //,. See colorRules.json for an example.
FILES=`ls *.json | grep -v combinedRules`
OUTFILE="combinedRules.json"