Sha256: 045595c2f2ed2d2cfc2a335cea2a6b2af35088a4f2c8da28bad297ff3e1de001
Contents?: true
Size: 676 Bytes
Versions: 6
Compression:
Stored size: 676 Bytes
Contents
require 'rubygems' require 'rake' require 'rake/gempackagetask' require 'spec/rake/spectask' require 'gemspec' desc "Generate gemspec" task :gemspec do File.open("#{Dir.pwd}/#{GEM_NAME}.gemspec", 'w') do |f| f.write(GEM_SPEC.to_ruby) end end desc "Install gem" task :install do Rake::Task['gem'].invoke `sudo gem uninstall #{GEM_NAME} -x` `sudo gem install pkg/#{GEM_NAME}*.gem` `rm -Rf pkg` end desc "Package gem" Rake::GemPackageTask.new(GEM_SPEC) do |pkg| pkg.gem_spec = GEM_SPEC end desc "Run specs" Spec::Rake::SpecTask.new do |t| t.rcov = true t.spec_opts = ["--format", "specdoc", "--colour"] t.spec_files = FileList["spec/**/*_spec.rb"] end
Version data entries
6 entries across 6 versions & 4 rubygems
Version | Path |
---|---|
winton-secret_key-0.1.0 | Rakefile |
stencil-0.1.2 | Rakefile |
stencil-0.1.1 | Rakefile |
captcha-1.2.1 | Rakefile |
secret_key-0.1.0 | Rakefile |
stencil-0.1.0 | Rakefile |