Sha256: 20971e7a739324cbee2dd10261350782b7585c6cc3dd2c5baa1b4d5e62f5e122
Contents?: true
Size: 689 Bytes
Versions: 11
Compression:
Stored size: 689 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" => ["manual.md", "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
11 entries across 11 versions & 1 rubygems