Sha256: 9b48bc7cee3ee40c6160d32d1456106f4c475ee2821df3f6817ae2551a1d8f90

Contents?: true

Size: 512 Bytes

Versions: 2

Compression:

Stored size: 512 Bytes

Contents

# Generates the documentation in HTML format.
#--
# Copyright 2006 Suraj N. Kurapati
# See the file named LICENSE for details.

require 'rake/clean'

$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'ruby-vpi'
include RubyVPI


task :default => 'guide.html'

desc 'Generate the user guide.'
file 'guide.html' => 'guide.erb' do |t|
  ENV['RUBYLIB'] = File.join(RubyVPI::Project[:home], 'lib')
  sh "gerbil html #{t.prerequisites[0].inspect} > #{t.name.inspect}"
end
CLOBBER.include 'guide.html'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-vpi-21.0.0 doc/Rakefile
ruby-vpi-21.1.0 doc/Rakefile