Sha256: a2feb0d7563e67f0f3744e1345fa96e7884f500252db5f2ada32f5bd4a63bfa7

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 Bytes

Contents

require 'rubygems'
require 'rake'
require 'date'

def name
  @name ||= Dir['*.gemspec'].first.split('.').first
end

#############################################################################
#
# Tests
#
#############################################################################

task :default => :test

desc "Run tests for #{name}"
task :test do
  exec "test/run"
end

desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -r ./lib/#{name}.rb"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
imgurr-1.0.0 Rakefile
imgurr-0.2.0 Rakefile
imgurr-0.1.2 Rakefile
imgurr-0.1.1 Rakefile
imgurr-0.1.0 Rakefile