mirror of
https://github.com/ilyakooo0/hakyll.git
synced 2024-10-06 09:17:15 +03:00
Don't add .cabal extension twice in init
Previously, hakyll-init would create the cabal file with a name like name.cabal.cabal.
This commit is contained in:
parent
3e1d74e50f
commit
5fdaba6f29
@ -72,7 +72,7 @@ makeName dstDir = do
|
||||
|
||||
createCabal :: FilePath -> String -> IO ()
|
||||
createCabal path name = do
|
||||
writeFile (path ++ ".cabal") $ unlines [
|
||||
writeFile path $ unlines [
|
||||
"name: " ++ name
|
||||
, "version: 0.1.0.0"
|
||||
, "build-type: Simple"
|
||||
|
Loading…
Reference in New Issue
Block a user