Your IP : 3.147.86.30


Current Path : /opt/alt/ruby19/lib64/ruby/1.9.1/rake/lib/
Upload File :
Current File : //opt/alt/ruby19/lib64/ruby/1.9.1/rake/lib/project.rake

task "create:project" => ["lib", "test", "Rakefile"]

directory "lib"
directory "test"

file "Rakefile" do
  File.open("Rakefile", "w") do |out|
    out.puts %{# -*- ruby -*-

require 'rake/clean'
require 'rake/testtask'

task :default => :test

Rake::TestTask.new do |t|
  t.verbose = false
  t.test_files = FileList['test/test_*.rb']
end
}
  end
end

?>