Sha256: 822924d1d986a937b5c3e9c08a7b5babd2cc867f83920f301d2a506bef087822
Contents?: true
Size: 1.06 KB
Versions: 3
Compression:
Stored size: 1.06 KB
Contents
require "rubygems" require "rake/gempackagetask" require "rake/clean" #require "spec/rake/spectask" $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '/lib') begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "codehighlighter-middleware" s.summary = "Rack Middleware for Code Highlighting." s.email = "matwb@univ.gda.pl" s.homepage = "http://github.com/wbzyl/codehighlighter-middleware" s.authors = ["Wlodek Bzyl"] s.description = s.summary # s.add_dependency 'coderay', '>=0.8.312' s.add_dependency 'hpricot', '>=0.8.1' end rescue LoadError puts "Jeweler not available." puts "Install it with:" puts " sudo gem install technicalpickles-jeweler -s http://gems.github.com" end #Rake::TestTask.new(:test) do |t| # t.libs << 'lib' << 'test' # t.pattern = 'test/**/*_test.rb' # t.verbose = false #end desc 'Install the package as a gem.' task :install => [:clean, :build] do gem = Dir['pkg/*.gem'].last sh "sudo gem install --no-rdoc --no-ri --local #{gem}" end task :default => :test
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wbzyl-codehighlighter-middleware-0.0.7 | Rakefile |
wbzyl-codehighlighter-middleware-0.1.0 | Rakefile |
wbzyl-codehighlighter-middleware-0.1.1 | Rakefile |