Sha256: 3087879abc63a8777c944895f146ae315d186c84959c0f6c51af9692a6606213
Contents?: true
Size: 644 Bytes
Versions: 6
Compression:
Stored size: 644 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/clean' CLEAN.include("**/*.gem", "**/*.rbc") namespace 'gem' do desc 'Create the win32-event gem' task :create => [:clean] do require 'rubygems/package' spec = eval(IO.read('win32-event.gemspec')) spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem') Gem::Package.build(spec) end desc 'Install the win32-event gem' task :install => [:clean, :create] do file = Dir['*.gem'].first sh "gem install -l #{file}" end end Rake::TestTask.new do |t| t.verbose = true t.warning = true end task :default => :test
Version data entries
6 entries across 6 versions & 4 rubygems