Sha256: 620613e35a3a371131fd167e02a117a08f72002d908be99eb054ee94bbd961be
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "less" s.authors = ["cloudhead"] s.email = "alexis@cloudhead.net" s.summary = "LESS compiler" s.homepage = "http://www.lesscss.org" s.description = "LESS is leaner CSS" s.rubyforge_project = 'less' end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end # rubyforge begin require 'rake/contrib/sshpublisher' namespace :rubyforge do desc "Release gem and RDoc documentation to RubyForge" task :release => ["rubyforge:release:gem", "rubyforge:release:docs"] namespace :release do desc "Publish RDoc to RubyForge." task :docs => [:rdoc] do config = YAML.load( File.read(File.expand_path('~/.rubyforge/user-config.yml')) ) host = "#{config['username']}@rubyforge.org" remote_dir = "/var/www/gforge-projects/the-perfect-gem/" local_dir = 'rdoc' Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload end end end rescue LoadError puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured." end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
less-0.7.0 | Rakefile |