diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-12-05 23:29:42 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-12-05 23:29:42 +0100 |
commit | 6307ecd094c0ab2f937909dacdce08f8a4bb7780 (patch) | |
tree | ae1d2a8c19d55e711ae24e05af022d0cd6249d84 /src | |
parent | 3f13de078743f876df5adf64e021b7214d12e3f4 (diff) | |
download | hakyll-6307ecd094c0ab2f937909dacdce08f8a4bb7780.tar.gz |
Start simple init program
Diffstat (limited to 'src')
-rw-r--r-- | src/Hakyll/Init.hs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Hakyll/Init.hs b/src/Hakyll/Init.hs new file mode 100644 index 0000000..974cacb --- /dev/null +++ b/src/Hakyll/Init.hs @@ -0,0 +1,23 @@ +-------------------------------------------------------------------------------- +module Main + ( main + ) where + + +-------------------------------------------------------------------------------- +import System.Directory (copyFile) + + +-------------------------------------------------------------------------------- +import Hakyll.Core.Util.File +import Paths_hakyll + + +-------------------------------------------------------------------------------- +main :: IO () +main = do + let dstDir = "." + srcDir <- getDataFileName "example" + files <- getRecursiveContents srcDir + print files + return () |