Sha256: ad18fb9170816c75a6e8798db44a4186a31e55c6ad1ab966512b4a1a79718173
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/clean' CLEAN.include("*.gem", "*.rbc") namespace :gem do desc 'Build the crypt-fog gem' task :create => [:clean] do spec = eval(IO.read('crypt-fog.gemspec')) require 'rubygems/package' if Gem::VERSION < "2.0" Gem::Builder.new(spec).build else Gem::Package.build(spec) end end desc 'Install the crypt-fog library as a gem' task :install => [:create] do file = Dir["*.gem"].first sh "gem install -l #{file}" end end Rake::TestTask.new do |t| t.warning = true t.verbose = true end task :default => :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crypt-fog-1.0.2 | Rakefile |