Skip to content

Commit

Permalink
Add an epubcheck validation script
Browse files Browse the repository at this point in the history
  • Loading branch information
ndfred committed Nov 1, 2011
1 parent fcb7031 commit 5d985f7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,4 +6,5 @@
/toc.ncx
/Jerrybrown
/Revolution_in_The_Valley.epub
/epubcheck/
.DS_Store
13 changes: 13 additions & 0 deletions validate.sh
@@ -0,0 +1,13 @@
#!/bin/sh -ex

if [ ! -d epubcheck ]
then
mkdir epubcheck
cd epubcheck
curl -s http://epubcheck.googlecode.com/files/epubcheck-1.2.zip -o epubcheck-1.2.zip
unzip epubcheck-1.2.zip
cd ..
fi

python build.py
java -jar epubcheck/epubcheck-1.2.jar Revolution_in_The_Valley.epub

0 comments on commit 5d985f7

Please sign in to comment.