main.hs instead of config/project.hs

This commit is contained in:
Greg Weber 2011-08-01 09:54:51 -07:00
parent 7a8e98158f
commit 9206a0554d
3 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ scaffold = do
_ -> error $ "Invalid backend: " ++ backendS
writeFile' ("config/settings.yml") $(codegen "config/settings.yml")
writeFile' ("config/" ++ project ++ ".hs") $(codegen "project.hs")
writeFile' ("main.hs") $(codegen "project.hs")
writeFile' (project ++ ".cabal") $ if backendS == "m" then $(codegen "mini/cabal") else $(codegen "cabal")
writeFile' ".ghci" $(codegen ".ghci")
writeFile' "LICENSE" $(codegen "LICENSE")

View File

@ -43,7 +43,7 @@ executable ~project~
else
ghc-options: -Wall -threaded
main-is: config/~project~.hs
main-is: main.hs
hs-source-dirs: ., config
build-depends: base >= 4 && < 5

View File

@ -42,7 +42,7 @@ executable ~project~
else
ghc-options: -Wall -threaded
main-is: config/~project~.hs
main-is: main.hs
hs-source-dirs: ., config
build-depends: base >= 4 && < 5