Sha256: 19f5c544f72ff0f1b4ad15dfb3b5f251cd69f7fb88e44919e21d539c88269987

Contents?: true

Size: 1.45 KB

Versions: 6

Compression:

Stored size: 1.45 KB

Contents

require File.expand_path("../lib/sproutcore/version", __FILE__)

desc "Information for setup"
task :default do

  puts <<END

===================================================
**********************WARNING**********************
===================================================

It is not recommended that you install Abbot
directly from git. Unless you are hacking on Abbot 
you should use the gem:
 
  gem install sproutcore

===================================================

To get the SproutCore framework, run

  git submodule init
  git submodule update

To update the gem:

  - Update VERSION.yml
  - Update CHANGELOG
  - Make sure the framework is up to date
  - Add a new tag
  - Build and push the gem:
      gem build sproutcore.gemspec
      gem push sproutcore-VERSION.gem
  - Switch to JRuby and repeat:
      gem build sproutcore.gemspec
      gem push sproutcore-VERSION-java.gem
END

end

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new
rescue LoadError
  puts "RSpec is not installed. Please install if you want to run tests."
end

begin
  require 'packager/rake_task'

  Packager::RakeTask.new(:pkg) do |t|
    t.version = SproutCore::VERSION
    t.domain = "sproutcore.com"
    t.package_name = "SproutCore"
    t.bin_files = Dir['bin/*'].map{|p| File.basename(p) }
    t.resource_files = ["vendor", "VERSION.yml"]
  end
rescue LoadError
  if Rake.application.options.show_tasks
    puts "`gem install packager` for packaging tasks"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sproutcore-1.6.0.beta.3-x86-mingw32 Rakefile
sproutcore-1.6.0.beta.3-java Rakefile
sproutcore-1.6.0.beta.3 Rakefile
sproutcore-1.6.0.beta.2-x86-mingw32 Rakefile
sproutcore-1.6.0.beta.2-java Rakefile
sproutcore-1.6.0.beta.2 Rakefile