Skip to content

Commit

Permalink
final script fixes and debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Dec 22, 2019
1 parent 2984311 commit a616540
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion book.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"readme": "Foreword.md"
},

"title" : "OWASP Mobile Application Security Verification Standard 1.2",
"title" : "OWASP Mobile Application Security Verification Standard 1.2.0",
"description": "The MASVS is The MASVS is a framework of security requirements needed to design, develop and test secure mobile apps.",
"pdf":{
"fontFamily":"Cambria, calibri",
Expand Down
3 changes: 2 additions & 1 deletion tools/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ exit 0;
fi
#additional before install steps that are only required when we are TAGGING/releasing:
brew install pandoc
brew cask install calibre
# https://qiita.com/diggy-mo/items/eef12b3f854e88a2b07e, therefore do not install calibre latest:
brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask/0609402ee984aa887752a205b3086191aed1385e/Casks/calibre.rb
brew install epubcheck
brew install gnu-sed
16 changes: 8 additions & 8 deletions tools/gendocsLocal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ sh ./generate_document_ru.sh $1
sh ./generate_document_zhtw.sh $1

echo "Checking epub validity"
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document-de.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document-fr.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document-es.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document-ja.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document-ko.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document-ru.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_latest_Document-zhtw.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document-de.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document-fr.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document-es.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document-ja.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document-ko.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document-ru.epub
sh epubcheck ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1_Document-zhtw.epub
3 changes: 2 additions & 1 deletion tools/gitbookepubandpdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ update_glossary $1 ko
update_glossary $1 ru
update_glossary $1 zhtw


echo "installing gitbook in root"
gitbook install ../

echo "generating pdfs, epub and mobi"
gitbook pdf ../ ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1.pdf
gitbook epub ../ ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1.epub
gitbook mobi ../ ../Generated/OWASP_Mobile_AppSec_Verification_Standard_$1.mobi
Expand Down

0 comments on commit a616540

Please sign in to comment.