Sha256: f86dadd8e1e247c8a5ca9c6ecaea85727776b0510bd62384603d173b8ef5ee38
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
require 'rake/testtask' require 'rake/rdoctask' task :default => :test Rake::TestTask.new do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = false end desc "Launch Kicker (like autotest)" task :kicker do puts "Kicking... (ctrl+c to cancel)" exec "kicker -e rake test lib" end begin require 'jeweler' $LOAD_PATH.unshift 'lib' require 'mustache/version' Jeweler::Tasks.new do |gemspec| gemspec.name = "mustache" gemspec.summary = "Mustache is a framework-agnostic way to render logic-free views." gemspec.description = "Mustache is a framework-agnostic way to render logic-free views." gemspec.email = "chris@ozmm.org" gemspec.homepage = "http://github.com/defunkt/mustache" gemspec.authors = ["Chris Wanstrath"] gemspec.version = Mustache::Version end rescue LoadError puts "Jeweler not available." puts "Install it with: gem install jeweler" end begin require 'sdoc_helpers' rescue LoadError puts "sdoc support not enabled. Please gem install sdoc-helpers." end desc "Push a new version to Gemcutter" task :publish => [ :gemspec, :build ] do system "git tag v#{Mustache::Version}" system "git push origin v#{Mustache::Version}" system "gem push pkg/mustache-#{Mustache::Version}.gem" system "git clean -fd" exec "rake pages" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mustache-0.2.2 | Rakefile |
mustache-0.2.1 | Rakefile |
mustache-0.2.0 | Rakefile |