Sha256: ebc36a938f8a25015b4e96a62587c7cc376ff79a87c93553dc6eff5e107c913b

Contents?: true

Size: 643 Bytes

Versions: 10

Compression:

Stored size: 643 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/packagetask'
require 'rubygems/package_task'
require 'rspec/core/rake_task'
require 'spree/core/testing_support/common_rake'

RSpec::Core::RakeTask.new

task :default => [:spec]

spec = eval(File.read('<%=file_name%>.gemspec'))

Gem::PackageTask.new(spec) do |p|
  p.gem_spec = spec
end

desc 'Release to gemcutter'
task :release => :package do
  require 'rake/gemcutter'
  Rake::Gemcutter::Tasks.new(spec).define
  Rake::Task['gem:push'].invoke
end

desc 'Generates a dummy app for testing'
task :test_app do
  ENV['LIB_NAME'] = '<%=file_name%>'
  Rake::Task['common:test_app'].invoke
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_cmd-1.1.6 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.5 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.4 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.3 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.2 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.2.rc1 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.1 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.0 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.0.rc2 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-1.1.0.rc1 lib/spree_cmd/templates/extension/Rakefile