added a .ghci to scaffold created projects to expand the search path to config dir

This commit is contained in:
alios 2011-06-11 20:22:49 +02:00
parent 3344dafe16
commit 7c785bb769
2 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,7 @@ scaffold = do
writeFile' ("config/" ++ project ++ ".hs") $(codegen "test_hs")
writeFile' (project ++ ".cabal") $ if backendS == "m" then $(codegen "mini-cabal") else $(codegen "cabal")
writeFile' ".ghci" $(codegen "dotghci")
writeFile' "LICENSE" $(codegen "LICENSE")
writeFile' (sitearg ++ ".hs") $ if backendS == "m" then $(codegen "mini-sitearg_hs") else $(codegen "sitearg_hs")
writeFile' "Controller.hs" $ if backendS == "m" then $(codegen "mini-Controller_hs") else $(codegen "Controller_hs")

2
scaffold/dotghci.cg Normal file
View File

@ -0,0 +1,2 @@
:set -i.:config:dist/build/autogen