Sha256: 901056f3789db4257634fae72473b2caf610aba79155e5f56faee6baac61c3a6

Contents?: true

Size: 868 Bytes

Versions: 1

Compression:

Stored size: 868 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "open_gem"
    s.summary = "Gem Command to easily open a ruby gem with the editor of your choice."
    s.description = <<-DESC
      Open a gem's source directory with either the default editor, or a specified command.
    DESC
    s.email = "netghost@gmail.com"
    s.homepage = "http://github.com/adamsanderson/open_gem"
    s.authors = ["Adam Sanderson"]
    s.has_rdoc = false
    s.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"]
  end

rescue LoadError
  puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

task :default => :install

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adamsanderson-open_gem-1.0.0 Rakefile