packages feed

bamboo 2009.6.25 → 2009.8.16

raw patch · 5 files changed

+26/−24 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Nemesis view
@@ -48,13 +48,22 @@     return ()      desc "run"-  task "run" $ do-    sh "ghc --make -Wall -fno-warn-orphans -isrc src/Main.hs -o main"-    sh "echo $ done"-    sh "./main"+  bin "run" "Main"++  desc "deploy"+  task "deploy" $ sh "scp -C .bin/run easymic.com:~/link/bamboo/.bin"   +  task "go" $ sh ".bin/run"+     desc "show sloc"   task "stat" $ sh "cloc -match-f=hs$ --quiet ."+  +  where+    ghci n x = task n $ sh $ "ghci -isrc src/" ++ x ++ ".hs"+    bin n x = task n $ do+      sh $ "ghc --make -Wall -O1 -threaded -isrc src/" ++ x ++ ".hs -o .bin/" ++ n+      sh $ "echo done.."+      sh $ ".bin/" ++ n      kill x =    system $ "ps -A | grep " ++ x ++ " | awk '{print $1}' | xargs kill -9"
bamboo.cabal view
@@ -1,8 +1,7 @@ Name:                 bamboo-Version:              2009.6.25+Version:              2009.8.16 Build-type:           Simple-Synopsis:             A simple blog middleware on hack-Description:          A simple blog middleware on hack+Synopsis:             A simple blog engine on Hack License:              GPL License-file:         LICENSE Author:               Wang, Jinjing
changelog.md view
@@ -1,3 +1,10 @@+2009.8.16+---------++### Fix++* compatible with mps+ 2009.6.25 --------- 
readme.md view
@@ -40,21 +40,7 @@  By it's middleware nature, bamboo could be used with other hack middleware to achieve extensibility; Bamboo plugins are also middleware, so they can be used not only in bamboo, but any other CMS like web application. -## Demo--### blog--[Jinjing's blog](http://jinjing.easymic.com) source is available as a git repo:--    git clone git://github.com/nfjinjing/jinjing-blog.git--Or [browser](http://github.com/nfjinjing/jinjing-blog/tree/master) online--Note: This blog is using the Kibro handler. It's running under lighttpd and in fcgi. Definitely more robust, but require some set up work. --### config--[jinjing's blog config file](http://github.com/nfjinjing/jinjing-blog/blob/401a541443d88bbf8d844874c1473d4b3bc81784/config/site.txt)+## [Demo](http://jinjing.easymic.com)  ## Easy install in 3 steps @@ -102,7 +88,7 @@          type Theme = Interface -> State -> IO Response -This makes theme creation an relatively complex task, since a theme author basically has to do everything: from html construction to model manipulation. But since state is passed purely and return type is in IO, it also provides the ultimate safety and flexibility to theme construction, something unmatched by any main stream web frameworks. Integrating twitter? no problem, do them in IO.+This makes theme creation a relatively complex task, since a theme author basically has to do everything: from html construction to model manipulation. But since state is passed purely and return type is in IO, it also provides the ultimate safety and flexibility to theme construction, something unmatched by any main stream web frameworks. Integrating twitter? no problem, do them in IO.  ### Plugin @@ -123,3 +109,4 @@ * [bamboo-theme-blueprint](http://github.com/nfjinjing/bamboo-theme-blueprint) * [bamboo-launcher](http://github.com/nfjinjing/bamboo-launcher) * [bamboo-plugin-highlight](http://github.com/nfjinjing/bamboo-plugin-highlight)+* [bamboo-plugin-photo](http://github.com/nfjinjing/bamboo-plugin-photo)
src/Bamboo/Helper/PreludeEnv.hs view
@@ -8,4 +8,4 @@ import Prelude hiding (   (.), (/), (^), id, span, readFile, writeFile, div, (>), (^^)   )-import MPSUTF8 hiding (base, date, format_time)+import MPSUTF8 hiding (base, date, format_time, (-))