Sha256: ce0cdbe5474211de2d853271e714bdb6650c0d0d700ac5e0139dd96210cfec20
Contents?: true
Size: 1.89 KB
Versions: 5
Compression:
Stored size: 1.89 KB
Contents
require 'rake' require 'spec/rake/spectask' desc 'Default: run specs.' task :default => :spec desc 'Run the specs' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts = ['--colour --format progress --loadby mtime --reverse'] t.spec_files = FileList['spec/**/*_spec.rb'] end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "subdomain-fu" gemspec.rubyforge_project = 'subdomain-fu' gemspec.summary = "SubdomainFu is a Rails plugin that provides subdomain routing and URL writing helpers." gemspec.email = "michael@intridea.com" gemspec.homepage = "http://github.com/mbleigh/subdomain-fu" gemspec.files = FileList["[A-Z]*", "{lib,spec,rails}/**/*"] - FileList["**/*.log"] gemspec.description = "SubdomainFu is a Rails plugin to provide all of the basic functionality necessary to handle multiple subdomain applications (such as Basecamp-esque subdomain accounts and more)." gemspec.authors = ["Michael Bleigh"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end # These are new tasks 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
5 entries across 5 versions & 3 rubygems
Version | Path |
---|---|
gameplan-subdomain-fu-0.5.4 | Rakefile |
sentientmonkey-subdomain-fu-0.5.6 | Rakefile |
sentientmonkey-subdomain-fu-0.5.5 | Rakefile |
subdomain-fu-1.0.0.beta2 | Rakefile |
subdomain-fu-0.5.4 | Rakefile |