Sha256: 63d366edc2b4b637d6ab0f08b275c2adf14cb54c5dbbbe89e55cbdb588322bf3
Contents?: true
Size: 804 Bytes
Versions: 15
Compression:
Stored size: 804 Bytes
Contents
#!/usr/bin/env rake begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end task 'before_build' do signing_key = File.expand_path("~/.gem/librato-private_key.pem") if File.exists?(signing_key) puts "Key found: signing gem..." ENV['GEM_SIGNING_KEY'] = signing_key else puts "WARN: signing key not found, gem not signed" end end task :build => :before_build # IRB desc "Open an irb session preloaded with this library" task :console do sh "pry -rubygems -r rails -r ./lib/librato-rails.rb" end Bundler::GemHelper.install_tasks require 'rake/testtask' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end task :default => :test
Version data entries
15 entries across 15 versions & 1 rubygems