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