Sha256: 68f31d8950509c693ded84b4ceec902873cad426e0bc6f7e6a0a374694db19ee
Contents?: true
Size: 665 Bytes
Versions: 1
Compression:
Stored size: 665 Bytes
Contents
require 'rake' require 'rake/clean' require 'rbconfig' require 'rspec/core/rake_task' include RbConfig RSpec::Core::RakeTask.new(:spec) CLEAN.include('**/*.gem', '**/*.rbc', '**/*.rbx', '**/*.lock') namespace 'gem' do desc "Create the apple-system-logger gem" task :create => [:clean] do require 'rubygems/package' spec = eval(IO.read('apple-system-logger.gemspec')) spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem') Gem::Package.build(spec) end desc "Install the apple-system-logger gem" task :install => [:create] do file = Dir["*.gem"].first sh "gem install -l #{file}" end end task :default => :spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apple-system-logger-0.1.2 | Rakefile |