Sha256: c2b1e7f9b28d043e4ae2193e5030182b461727b865f1cc46f56c580fceeb11df

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

%w[rubygems rake rake/clean fileutils newgem rubigen hoe].each { |f| require f }
require File.dirname(__FILE__) + '/lib/staticmatic'

# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.new('staticmatic', StaticMatic::VERSION) do |p|
  p.developer('Stephen Bartholomew', 'steve@curve21.com')
  p.rubyforge_name       = p.name 
  p.extra_deps         = [
    ['haml','>= 2.0'],
    ['mongrel','>= 1.0']
  ]
  p.extra_dev_deps = [
    ['newgem', ">= #{::Newgem::VERSION}"]
  ]
  
  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'
end

require 'newgem/tasks' # load /tasks/*.rake
Dir['tasks/**/*.rake'].each { |t| load t }


desc "Run all unit tests"
Rake::TestTask.new(:test) do |t|
  t.test_files = Dir.glob("test/*_test.rb")
  t.verbose = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mattt-staticmatic-0.10.1 Rakefile