Sha256: f6c6f42b093b8c205060d1fc631198c5adcbb72920df39cb790c5b9e8491ba4b

Contents?: true

Size: 1.7 KB

Versions: 6

Compression:

Stored size: 1.7 KB

Contents

require 'rubygems'
require 'rake'


begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "flex-sdk"
    gem.summary = %Q{Flex SDK Gem and Thor Built utilities}
    gem.description = %Q{Flex SDK Gem for redistribution to build servers and other developers. Also provides a simple DSL for calling Mxmlc and Compc from Thor tasks}
    gem.email = "jonathan.hoskin@visfleet.com"
    gem.homepage = "http://github.com/visfleet/flex-sdk"
    gem.authors = ["Jonathan Hoskin", "Rasheed Abdul-Aziz"]
    gem.add_development_dependency "rspec", ">= 1.2.9"
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    gem.add_dependency "i18n"
    gem.add_dependency "activesupport"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

begin
  require 'reek/adapters/rake_task'
  Reek::RakeTask.new do |t|
    t.fail_on_error = true
    t.verbose = false
    t.source_files = 'lib/**/*.rb'
  end
rescue LoadError
  task :reek do
    abort "Reek is not available. In order to run reek, you must: sudo gem install reek"
  end
end

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "test #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flex-sdk-0.7.1 Rakefile
flex-sdk-0.7.0 Rakefile
flex-sdk-0.6.1 Rakefile
flex-sdk-0.6.0 Rakefile
flex-sdk-0.5.1 Rakefile
flex-sdk-0.5.0 Rakefile