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