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