################################ -*- Ruby -*- #################################
# Common tasks
#

desc "Generate README.md"
task "readme" do
  sh "emacs", "-batch", "-l", "../../el2markdown/el2markdown.el",
     "../objc-font-lock.el", \
  "-f", "el2markdown-write-readme"
end

desc "Generating html"
task "html" => ["readme"] do
  sh "Markdown.pl ../README.md > ../README.html"
end
