Sha256: 86745d1e7e7918237d9490d2f99fc0793b37cf3371f4eb413c894259d56d1714

Contents?: true

Size: 483 Bytes

Versions: 23

Compression:

Stored size: 483 Bytes

Contents

desc "Rewrite index.html using index.erb and publisher_homepage.html"
task :index do
  require 'erb'
  @title = "Constructor - atomicobject.rb"
  @plugin_install = "$ script/plugin install svn://rubyforge.org/var/svn/atomicobjectrb/tags/constructor"
  @header_html = File.read("page_header.html")
  html = ERB.new(File.read("index.erb")).result(binding)
  fname = "index.html"
  File.open(fname,"w") do |f|
    f.print html
  end
  puts "Wrote #{fname}"
end

task :default => :index

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
ceedling-0.27.0 vendor/constructor/homepage/Rakefile
ceedling-0.25.0 vendor/constructor/homepage/Rakefile
ceedling-0.24.0 vendor/constructor/homepage/Rakefile
ceedling-0.22.0 vendor/constructor/homepage/Rakefile
ceedling-0.21.0 vendor/constructor/homepage/Rakefile
ceedling-0.20.3 vendor/constructor/homepage/Rakefile
ceedling-0.20.2 vendor/constructor/homepage/Rakefile
ceedling-0.19.0 vendor/constructor/homepage/Rakefile
ceedling-0.18.0 vendor/constructor/homepage/Rakefile
ceedling-0.17.0 vendor/constructor/homepage/Rakefile
ceedling-0.16.0 vendor/constructor/homepage/Rakefile
ceedling-0.15.6 vendor/constructor/homepage/Rakefile
ceedling-0.15.5 vendor/constructor/homepage/Rakefile
ceedling-0.15.4 vendor/constructor/homepage/Rakefile
ceedling-0.15.3 vendor/constructor/homepage/Rakefile
ceedling-0.15.2 vendor/constructor/homepage/Rakefile
ceedling-0.15.1 vendor/constructor/homepage/Rakefile
ceedling-0.15.0 vendor/constructor/homepage/Rakefile
ceedling-0.13.0 vendor/constructor/homepage/Rakefile
ceedling-0.13.0.rc1 vendor/constructor/homepage/Rakefile