module Blog.Path ( Path(..) , build ) where import Arguments (Arguments) import qualified Arguments as Arguments (Arguments(..)) data Path = Path { articlesPath :: FilePath , pagesPath :: Maybe FilePath , root :: FilePath } build :: Arguments -> Path build arguments = Path { articlesPath = Arguments.articlesPath arguments , pagesPath = Arguments.pagesPath arguments , root = Arguments.sourceDir arguments }