panda 0.0 → 0.0.0.1
raw patch · 4 files changed
+24/−36 lines, 4 files
Files
- LICENSE +20/−0
- Panda/View/Template.hs +1/−1
- Rakefile +0/−33
- panda.cabal +3/−2
LICENSE view
@@ -0,0 +1,20 @@+Copyright (c) 2008 Wang, Jinjing++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENMPS. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.+
Panda/View/Template.hs view
@@ -36,7 +36,7 @@ image ! [src "/image/piano.jpg", alt "logo", height "75", width "75"] , div_class "span-21 last" << [ space- , div_class "span-17 last" << h1 << "C大调"+ , div_class "span-17 last" << h1 << Config.blog_title , div_class "span-4 last" << [ space , space
− Rakefile
@@ -1,33 +0,0 @@-require 'rake'-require 'rake/clean'--Dir['tasks/**/*.rake'].each { |rake| load rake }--CLEAN.include %w[- **/*.o- **/*.hi- Main.exe*- **/*.pid- **/*.sock- **/*.fcgi-]--desc "refresh"-task :r do- #{}`ghc --make src/Main.hs -o public/example.fcgi -threaded`- `kibro refresh`- `kibro stop`- kill :fcgi- kill :lighttpd- `kibro start`-end--desc "kill"-task :kill do- kill :fcgi- kill :lighttpd-end--def kill(that)- `ps -A | grep #{that} | awk '{print $1}' | xargs kill -9`-end
panda.cabal view
@@ -1,5 +1,5 @@ Name: panda-Version: 0.0+Version: 0.0.0.1 Build-type: Simple Synopsis: Simple Static Blog Engine Description: Simple Static Blog Engine@@ -9,7 +9,8 @@ Maintainer: Wang, Jinjing <nfjinjing@gmail.com> Build-Depends: base Cabal-version: >= 1.2-data-files: Rakefile+category: Web+homepage: http://github.com/nfjinjing/panda/ library build-depends: base, cgi, network, pandoc >= 0.46, old-locale, old-time, directory, filepath, mps >= 0.0, parsedate >= 3000.0.0, rss >= 3000.1.0, xhtml >= 3000.2.0.0, kibro >= 0.0