Sha256: aff34c6e534845d514ca7d921538c4b50931c0bc10b28933b537b12b4e90f3d8
Contents?: true
Size: 717 Bytes
Versions: 7
Compression:
Stored size: 717 Bytes
Contents
load_failed = false begin require 'haml' rescue LoadError puts "Haml must be installed to build documentation" load_failed = true end begin require 'maruku' rescue LoadError puts "Maruku must be installed to build documentation" load_failed = true end begin require 'syntax' rescue LoadError puts "Syntax must be installed to build documentation" load_failed = true end unless load_failed file "doc/manual.html" => ["doc/manual.md", "doc/manual.haml"] do |t| require 'haml/exec' opts = Haml::Exec::Haml.new(["doc/manual.haml", "doc/manual.html"]) opts.parse! end CLOBBER.include("doc/manual.html") desc "Build the reference manual" task :manual => "doc/manual.html" end
Version data entries
7 entries across 7 versions & 2 rubygems