Adding update script for FEATURES.md
This commit is contained in:
parent
08d92f3d68
commit
cf5d983ecc
1 changed files with 8 additions and 1 deletions
|
@ -9,7 +9,14 @@ perltidy -b mysqltuner.pl
|
||||||
echo "* Update CVE list"
|
echo "* Update CVE list"
|
||||||
perl updateCVElist.pl
|
perl updateCVElist.pl
|
||||||
dos2unix ../mysqltuner.pl
|
dos2unix ../mysqltuner.pl
|
||||||
git add ../vulnerabilities.csv ../mysqltuner.pl ../USAGE.md
|
|
||||||
|
# Update Feature list
|
||||||
|
(
|
||||||
|
echo -e "Features list for option: --feature (dev only)\n---\n\n"
|
||||||
|
grep -E '^sub ' ../mysqltuner.pl | perl -pe 's/sub //;s/\s*\{//g'| sort -n | perl -pe 's/^/* /g'
|
||||||
|
) > ../FEATURES.md
|
||||||
|
|
||||||
|
git add ../vulnerabilities.csv ../mysqltuner.pl ../USAGE.md ../FEATURES.md
|
||||||
#git commit -m 'Update Vulnerabilities list
|
#git commit -m 'Update Vulnerabilities list
|
||||||
#Indenting mysqltuner
|
#Indenting mysqltuner
|
||||||
#Update Usage information'
|
#Update Usage information'
|
||||||
|
|
Loading…
Reference in a new issue