Sha256: ce391c558fc1e2485f30cce0626f02f0d3f176465a3490dbda799f5e26e21385
Contents?: true
Size: 993 Bytes
Versions: 6
Compression:
Stored size: 993 Bytes
Contents
#!/usr/bin/env rake $LOAD_PATH.unshift File.expand_path("lib", File.dirname(__FILE__)) require "rspec/core/rake_task" require "meteo/version" require "gemspec_deps_gen/gemspec_deps_gen" version = Meteo::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 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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
meteo-1.1.2 | Rakefile |
meteo-1.1.1 | Rakefile |
meteo-1.1.0 | Rakefile |
meteo-1.0.2 | Rakefile |
meteo-1.0.1 | Rakefile |
meteo-1.0.0 | Rakefile |