Sha256: 2db88628d6288f4dee5464240e676180e0f103cbfaea1335b493c97d0b2e5c70

Contents?: true

Size: 844 Bytes

Versions: 20

Compression:

Stored size: 844 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'yard'
require 'cosgrove'

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/*_test.rb']
  t.ruby_opts << if ENV['HELL_ENABLED']
    '-W2'
  else
    '-W1'
  end
end

YARD::Rake::YardocTask.new do |t|
  t.files = ['lib/**/*.rb']
end

task default: :test

task :console do
  exec "irb -r cosgrove -I ./lib"
end

task :build do
  exec 'gem build cosgrove.gemspec'
end

task :push do
  exec "gem push cosgrove-#{Cosgrove::VERSION}.gem"
end

# We're not going to yank on a regular basis, but this is how it's done if you
# really want a task for that for some reason.

# task :yank do
#   exec "gem yank cosgrove -v #{Cosgrove::VERSION}"
# end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
cosgrove-0.0.4.4 Rakefile
cosgrove-0.0.4.3 Rakefile
cosgrove-0.0.4.2 Rakefile
cosgrove-0.0.4.1 Rakefile
cosgrove-0.0.4.0 Rakefile
cosgrove-0.0.4.0pre3 Rakefile
cosgrove-0.0.4.0pre2 Rakefile
cosgrove-0.0.4.0pre1 Rakefile
cosgrove-0.0.3.5 Rakefile
cosgrove-0.0.3.4 Rakefile
cosgrove-0.0.3.3 Rakefile
cosgrove-0.0.3.2 Rakefile
cosgrove-0.0.3.1 Rakefile
cosgrove-0.0.3rc1 Rakefile
cosgrove-0.0.2 Rakefile
cosgrove-0.0.1 Rakefile
cosgrove-0.0.1rc16 Rakefile
cosgrove-0.0.1rc3 Rakefile
cosgrove-0.0.1rc2 Rakefile
cosgrove-0.0.1rc1 Rakefile