Sha256: 2b6581cdd8f7bf894bb26a6a3550c1e1bec4c5294f8df5a252e9cc5ed9390d0f

Contents?: true

Size: 908 Bytes

Versions: 14

Compression:

Stored size: 908 Bytes

Contents

require 'rubygems'
require 'bundler'

test_package = File.join(File.dirname(__FILE__), 'test', 'unit')
$: << test_package unless $:.include? test_package

Bundler.require

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

require File.join(File.dirname(__FILE__), 'lib', 'flashsdk', 'module')

namespace :test do
  Rake::TestTask.new(:units) do |t|
    t.libs << "test/unit"
    t.test_files = FileList["test/unit/*_test.rb"]
    t.verbose = true
  end
end

desc "Run the test harness"
task :test => 'test:units'

file 'pkg' do
  FileUtils.makedirs 'pkg'
end

gem_package = "flashsdk-#{FlashSDK::VERSION}.gem"

file "pkg/#{gem_package}" => [:clean, 'pkg'] do
  sh "gem build flashsdk.gemspec"
  FileUtils.mv gem_package, "pkg/#{gem_package}"
end

desc "Create the gem package"
task :package => "pkg/#{gem_package}"

CLEAN.add gem_package
CLEAN.add 'pkg'

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
flashsdk-1.0.29.pre rakefile.rb
flashsdk-1.0.28.pre rakefile.rb
flashsdk-1.0.27.pre rakefile.rb
flashsdk-1.0.26.pre rakefile.rb
flashsdk-1.0.25.pre rakefile.rb
flashsdk-1.0.23.pre rakefile.rb
flashsdk-1.0.22.pre rakefile.rb
flashsdk-1.0.21.pre rakefile.rb
flashsdk-1.0.20.pre rakefile.rb
flashsdk-1.0.18.pre rakefile.rb
flashsdk-1.0.17.pre rakefile.rb
flashsdk-1.0.15.pre rakefile.rb
flashsdk-1.0.14.pre rakefile.rb
flashsdk-1.0.13.pre rakefile.rb