Sha256: 4f24b84ad1e19676df4062724f8ceab1ad601e024df70541f71dfed7284de679

Contents?: true

Size: 1.05 KB

Versions: 19

Compression:

Stored size: 1.05 KB

Contents

#!/usr/bin/env rake

require "rspec/core/rake_task"

include Rake::DSL

load "lib/tasks/rspec.rake"

$LOAD_PATH.unshift File.expand_path("lib", File.dirname(__FILE__))

require "acceptance_test/version"
require "gemspec_deps_gen/gemspec_deps_gen"

version = AcceptanceTest::VERSION
project_name = File.basename(Dir.pwd)

task :gen do
  generator = GemspecDepsGen.new

  generator.generate_dependencies "spec", "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
end

task :build => :gen do
  system "gem build #{project_name}.gemspec"
end

task :install => :build do
  system "gem install #{project_name}-#{version}.gem"
end

task :uninstall do
  system "gem uninstall #{project_name}"
end

task :release => :build do
  system "gem push #{project_name}-#{version}.gem"
end

RSpec::Core::RakeTask.new do |task|
  task.pattern = 'spec/**/*_spec.rb'
  task.verbose = false
end

# task :fix_debug do
#   system "mkdir -p $GEM_HOME/gems/debugger-ruby_core_source-1.2.3/lib"
#   system "cp -R ~/debugger-ruby_core_source/lib $GEM_HOME/gems/debugger-ruby_core_source-1.2.3"
# end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
acceptance_test-1.8.3 Rakefile
acceptance_test-1.8.2 Rakefile
acceptance_test-1.8.1 Rakefile
acceptance_test-1.8.0 Rakefile
acceptance_test-1.7.14 Rakefile
acceptance_test-1.7.13 Rakefile
acceptance_test-1.7.12 Rakefile
acceptance_test-1.7.11 Rakefile
acceptance_test-1.7.9 Rakefile
acceptance_test-1.7.8 Rakefile
acceptance_test-1.7.7 Rakefile
acceptance_test-1.7.6 Rakefile
acceptance_test-1.7.5 Rakefile
acceptance_test-1.7.4 Rakefile
acceptance_test-1.7.3 Rakefile
acceptance_test-1.7.2 Rakefile
acceptance_test-1.7.1 Rakefile
acceptance_test-1.6.2 Rakefile
acceptance_test-1.6.1 Rakefile