Sha256: 4e4a0f452a160818a6d1d5668c81a07b8292d2879faddf5bb031d17bf031fb5a

Contents?: true

Size: 910 Bytes

Versions: 15

Compression:

Stored size: 910 Bytes

Contents

$:.unshift File.expand_path("../lib", __FILE__)

require 'rubygems'
require "bundler/gem_tasks"

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

Bundler.require

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

15 entries across 15 versions & 2 rubygems

Version Path
flashsdk_sqe-0.0.14 rakefile.rb
flashsdk_sqe-0.0.13 rakefile.rb
flashsdk_sqe-0.0.12 rakefile.rb
flashsdk_sqe-0.0.11 rakefile.rb
flashsdk_sqe-0.0.10 rakefile.rb
flashsdk_sqe-0.0.9 rakefile.rb
flashsdk_sqe-0.0.7 rakefile.rb
flashsdk_sqe-0.0.6 rakefile.rb
flashsdk_sqe-0.0.4 rakefile.rb
flashsdk_sqe-0.0.3 rakefile.rb
flashsdk_sqe-0.0.2 rakefile.rb
flashsdk_sqe-0.0.1 rakefile.rb
flashsdk-1.1.36.pre rakefile.rb
flashsdk-1.0.34.pre rakefile.rb
flashsdk-1.0.33.pre rakefile.rb