Permalink
Browse files

bug fix + bird flight notice on app start ("bird fly")

  • Loading branch information...
moonmaster9000 committed Aug 8, 2010
1 parent a5e1bb9 commit 54ccf1f0a30e0f23d0c23470593dac6cce3f18da
Showing with 5 additions and 3 deletions.
  1. +4 −2 bin/bird.hs
  2. +1 −1 bird.cabal
View
@@ -65,7 +65,7 @@ routeFile a = "get [] = body \"Hello, Bird!\""
configFile a =
"module " ++ a ++ ".Config where\n\n" ++
"import Bird\n\n" ++
- "config :: BirdConfig" ++
+ "config :: BirdConfig\n" ++
"config = def\n"
mainFile a =
@@ -98,7 +98,9 @@ mainFile a =
" Bird.PUT -> put $ path r\n" ++
" Bird.DELETE -> delete $ path r\n\n" ++
- "main = run app\n"
+ "main = do\n" ++
+ " putStrLn \"A bird was just spotted in flight at http://localhost:3000\"\n" ++
+ " run app\n"
split :: Char -> String -> [String]
split d s
View
@@ -1,5 +1,5 @@
Name: bird
-Version: 0.0.15
+Version: 0.0.16
Build-type: Simple
Synopsis: A simple, sinatra-inspired web framework.
Description: Bird is a hack-compatible framework for simple websites.

0 comments on commit 54ccf1f

Please sign in to comment.