We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 309d45d commit 90d6c7aCopy full SHA for 90d6c7a
dist/src/main/bash/update-rules-on-readme.sh
@@ -1,8 +1,9 @@
1
#!/bin/bash
2
-readonly RULE_URL_PREFIX='https://github.com/jboss-set/bug-clerk/tree/master/src/main/resources/org/jboss/jbossset/bugclerk'
3
+readonly RULES_RELATIVE_FOLDER_NAME='core/src/main/resources/org/jboss/jbossset/bugclerk/'
4
+readonly RULE_URL_PREFIX="https://github.com/jboss-set/bug-clerk/tree/master/${RULES_RELATIVE_FOLDER_NAME}"
5
-grep -e 'rule' src/main/resources/org/jboss/jbossset/bugclerk/*.drl | sed -e '/FilterIssueEntries.drl/d' | cut -f2 -d: | \
6
+grep -e 'rule' ${RULES_RELATIVE_FOLDER_NAME}/*.drl | sed -e '/FilterIssueEntries.drl/d' | cut -f2 -d: | \
7
sed -e 's/"//g' -e 's/rule //' -e 's/_.*$//' | sort -u | \
8
while
9
read rulename
0 commit comments