packages feed

bird 0.0.2 → 0.0.3

raw patch · 3 files changed

+7/−7 lines, 3 filesdep +hack-handler-happstackdep −hyena

Dependencies added: hack-handler-happstack

Dependencies removed: hyena

Files

bin/bird.hs view
@@ -9,8 +9,8 @@  runArg a =    case a of -    "build" -> runProcess "ghc" ["--make", "-O2", "Main.hs"] Nothing Nothing Nothing Nothing Nothing >> return ()-    "run"   -> runProcess "./Main" [] Nothing Nothing Nothing Nothing Nothing >> return ()+    "nest"  -> runProcess "ghc" ["--make", "-O2", "Main.hs"] Nothing Nothing Nothing Nothing Nothing >> return ()+    "fly"   -> runProcess "./Main" [] Nothing Nothing Nothing Nothing Nothing >> return ()     appName -> createBirdApp appName    createBirdApp a = do@@ -29,7 +29,7 @@  mainFile a =    "import Hack\n" ++-  "import Hack.Handler.Hyena\n" +++  "import Hack.Handler.Happstack\n" ++   "import Bird\n" ++   "import " ++ a ++ "\n" ++ "\n" ++ 
bird.cabal view
@@ -1,5 +1,5 @@ Name:                 bird-Version:              0.0.2+Version:              0.0.3 Build-type:           Simple Synopsis:             A simple, sinatra-inspired web framework. Description:          Bird is a hack-compatible framework for simple websites.@@ -18,6 +18,6 @@   hs-source-dirs: bin    library-  build-depends: haskell98, process, containers, bytestring, base >= 4.0 && < 5, hack >= 2009.10.30, hyena, data-default >= 0.2 +  build-depends: haskell98, process, containers, bytestring, base >= 4.0 && < 5, hack >= 2009.10.30, hack-handler-happstack, data-default >= 0.2    exposed-modules: Bird, Bird.Request, Bird.Reply, Bird.Reply.Codes   hs-source-dirs: src/
readme.markdown view
@@ -21,11 +21,11 @@ ## Compile your app      $ cd MyApp-    $ bird build+    $ bird nest   ## Start your app (runs on port 3000) -    $ bird run+    $ bird fly  ## Try it out