removed helloworld rails app
[fuzed.git] / Rakefile
blob42e0e4df3492f416809b0e28a601bec9b88f8bfc
1 require 'rubygems'
2 require 'hoe'
3 require './lib/fuzed.rb'
5 Hoe.new('fuzed', Fuzed::VERSION) do |p|
6   p.rubyforge_name = 'fuzed'
7   p.author = ['Dave Fayram', 'Tom Preston-Werner']
8   p.email = ['tom@rubyisawesome.com']
9   p.summary = 'Leverage the YAWS webserver (and additional erlang-based infrastructure) to run Rails.'
10   p.url = 'fuzed.rubyforge.org'
11   # p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
12   # p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
13   p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
14 end
16 task :build do
17   Dir['./**/*.erl'].each do |source|
18     unless File.open(source).read =~ /#!/
19       puts "compiling #{source}"
20       Dir.chdir(File.dirname(source)) do |dir|
21         puts `erlc #{File.basename(source)}`
22       end
23     end
24   end
25 end