Skip to content

Commit 90d6c7a

Browse files
committed
Update update-rules script broken since refactoring introduced core and dist module
1 parent 309d45d commit 90d6c7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dist/src/main/bash/update-rules-on-readme.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/bin/bash
2-
readonly RULE_URL_PREFIX='https://github.com/jboss-set/bug-clerk/tree/master/src/main/resources/org/jboss/jbossset/bugclerk'
32

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}"
45

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: | \
67
sed -e 's/"//g' -e 's/rule //' -e 's/_.*$//' | sort -u | \
78
while
89
read rulename

0 commit comments

Comments
 (0)