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

Version Path
bindata-1.5.0 tasks/manual.rake
bindata-1.4.5 tasks/manual.rake
bindata-1.4.4 tasks/manual.rake
bindata-1.4.3 tasks/manual.rake
bindata-1.4.2 tasks/manual.rake
bindata-1.4.1 tasks/manual.rake
bindata-1.4.0 tasks/manual.rake
bindata-1.3.1 tasks/manual.rake
bindata-1.2.2 tasks/manual.rake
bindata-1.2.1 tasks/manual.rake
bindata-1.2.0 tasks/manual.rake