Sha256: 82245aaf14c440376c61bb1e6b56d9d7bcb9cd0e11e08aa1a9a1ba8dd516b297

Contents?: true

Size: 1.26 KB

Versions: 15

Compression:

Stored size: 1.26 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'))
        )
        options << '--line-numbers' << '--inline-source'
        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

15 entries across 15 versions & 2 rubygems

Version Path
cloudhead-less-0.7.0 Rakefile
cloudhead-less-0.8.0 Rakefile
cloudhead-less-0.8.1 Rakefile
cloudhead-less-0.8.2 Rakefile
cloudhead-less-0.8.3 Rakefile
cloudhead-less-0.8.4 Rakefile
cloudhead-less-0.8.6 Rakefile
cloudhead-less-0.8.7 Rakefile
less-0.8.0 Rakefile
less-0.8.1 Rakefile
less-0.8.3 Rakefile
less-0.8.2 Rakefile
less-0.8.7 Rakefile
less-0.8.6 Rakefile
less-0.8.4 Rakefile