|
Revision 1152, 258 bytes
(checked in by jknaoya, 6 years ago)
|
|
lang/haskell/blosxkel,
lang/haskell/blosxkel/Rakefile,
lang/haskell/blosxkel/story.html,
lang/haskell/blosxkel/head.html,
lang/haskell/blosxkel/foot.html,
lang/haskell/blosxkel/content_type.html:
Haskell でつくった blosxom クローンのつくりかけです。
|
| Line | |
|---|
| 1 | |
|---|
| 2 | require "rake" |
|---|
| 3 | require "rake/clean" |
|---|
| 4 | |
|---|
| 5 | CLEAN.include ["*.hi", "*.o", "*.cgi"] |
|---|
| 6 | |
|---|
| 7 | task :default => "test" |
|---|
| 8 | |
|---|
| 9 | task :test => ["blosxkel.cgi"] do |
|---|
| 10 | sh %{./blosxkel.cgi} |
|---|
| 11 | end |
|---|
| 12 | |
|---|
| 13 | file "blosxkel.cgi" => ["blosxkel.hs"] do |t| |
|---|
| 14 | sh %{ghc --make -o #{t.name} blosxkel.hs } |
|---|
| 15 | end |
|---|