Created
August 8, 2014 13:01
-
-
Save cwilper/992ab13e0ee952245e33 to your computer and use it in GitHub Desktop.
Build sonatype/nexus-book in EPUB Format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
echo "Converting images if needed" | |
cd figs | |
./convert.sh | |
cd .. | |
echo "Building epub version of book" | |
mkdir -p target | |
a2x -k -f epub -D target book-nexus.asciidoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment