mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Setup.hs: Use simpleUserHooks rather than deprecated defaultUserHooks.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1348 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
@@ -8,9 +8,7 @@ import System.IO (readFile, writeFile)
|
||||
import Control.Monad (foldM)
|
||||
import Data.List (isPrefixOf)
|
||||
|
||||
main = defaultMainWithHooks myHooks
|
||||
|
||||
myHooks = defaultUserHooks { postConf = myPostConf }
|
||||
main = defaultMainWithHooks $ simpleUserHooks { postConf = myPostConf }
|
||||
|
||||
pandocPath = combine "Text" "Pandoc"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user