Sha256: a620104afe03b3fcc28a2792a636e185e34678e565cce49997784f83aa934d20

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

require "../lib/gorgyrella"

task :default => :pdf

task :rsync => [:pdf] do
  system "rsync -v -r --delete --exclude-from=rsync-exclude output/ ananelson@rubyforge.org:/var/www/gforge-projects/gorgyrella/"
end

task :generate_source do
  `rm -r content/source`
  `mkdir content/source`
  `ls ../lib/*.rb`.chomp.split.each do |n|
    File.open("content/source/#{File.basename(n, '.rb')}.txt", "w") do |f|
      f.write %{---
title:  #{File.basename(n)}
layout:  web
filter:
  - erb
---
<%= gorg("/Users/ana/work/gorgyrella/lib/#{File.basename(n)}") %>
}
    end
  end
end

def manual_filename
  "gorgyrella-manual-#{Gorgyrella::VERSION.gsub(".", "-")}.pdf"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gorgyrella-0.0.2 webby/Sitefile