Sha256: 842276bf92adba668f48c26fed0984ae104ab6c8f856a7e6ffd1d8a13082a93f

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 KB

Contents

%w[rubygems rake rake/clean fileutils newgem].each { |f| require f }
$:.unshift(File.join(File.dirname(__FILE__), 'lib'))
require 'rhodes'

task :default => [:spec, :features]

# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.new('rhodes', Rhodes::VERSION) do |p|
  p.developer('Rhomobile Dev', 'dev@rhomobile.com')
  p.changes              = p.paragraphs_of("History.txt", 0..1).join("\n\n")
  #p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
  p.rubyforge_name       = p.name # TODO this is default value
  p.extra_deps         = [
    ['sqlite3-ruby','= 1.2.3'],
    ['rcov'],
    ['rspec'],
    ['templater'],
    ['diff-lcs'],
    ['extlib'],
    ['newgem'],
    ['activesupport']
  ]
  
  p.clean_globs |= %w[**/.DS_Store tmp *.log]
  path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
  p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
  p.rsync_args = '-av --delete --ignore-errors'
  p.test_globs = ''
end

require 'newgem/tasks' # load /tasks/*.rake
# remove test task TODO: why does this run anyway?
Rake.application.remove_task(:test)
Dir['tasks/**/*.rake'].each { |t| load t }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rhodes-0.2.6 Rakefile
rhodes-0.2.5 Rakefile
rhodes-0.3.0 Rakefile