Updated pandoc task.

This commit is contained in:
Erik C. Thauvin 2016-06-29 23:35:38 -07:00
parent 93a579d5fb
commit e90927d177
2 changed files with 35 additions and 64 deletions

View file

@ -206,7 +206,7 @@ task pandoc(type: Exec) {
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
commandLine(['cmd', '/c', 'pandoc'] + pandoc_args)
} else {
executable '/usr/local/bin/pandoc'
executable 'pandoc'
args pandoc_args
}
standardOutput = new ByteArrayOutputStream()