Sha256: a44c0a5ab494d3f86a397aa748445740e817d1fc647bcc5228489c8e49ef9ec5
Contents?: true
Size: 686 Bytes
Versions: 2
Compression:
Stored size: 686 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 "manual.html" => ["README", "manual.haml"] do |t| require 'haml/exec' opts = Haml::Exec::Haml.new(["manual.haml", "manual.html"]) opts.parse! end CLOBBER.include("manual.html") desc "Build the reference manual" task :manual => "manual.html" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bindata-1.1.0 | tasks/manual.rake |
bindata-1.0.0 | tasks/manual.rake |