Sha256: 115b07b9df4e8f40198dc84cd59251bbeb2c4055b0798b4ed959a79041e423f7

Contents?: true

Size: 563 Bytes

Versions: 3

Compression:

Stored size: 563 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList["test/**/*_test.rb"]
end

task :install do |t, args|
  system 'gem build objcthin.gemspec'
  path = Dir.glob('*.gem').last
  system "gem install -l #{path}"
  FileUtils.rm Dir.glob('*.gem')
  puts 'completed'
end

task :publish do |t, args|
  system 'gem build objcthin.gemspec'
  path = Dir.glob('*.gem').last
  command = "gem push #{path}"
  system command
  FileUtils.rm Dir.glob('*.gem')
  puts 'completed'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
objcthin-0.4.0 Rakefile
objcthin-0.3.0 Rakefile
objcthin-0.2.0 Rakefile