Sha256: cd0f4fcee66813c788923d3ba4aaa9ed6892d8a3597e43a8bccc1420a41601dc
Contents?: true
Size: 738 Bytes
Versions: 11
Compression:
Stored size: 738 Bytes
Contents
$: << File.expand_path(File.dirname(__FILE__)) require 'rubygems' require 'rubygems/package_task' require 'rake/contrib/sshpublisher' require 'yaml' require 'ruby/lib/version' PROJECT_NAME = "rice" PROJECT_WEB_PATH = "/var/www/gforge-projects/rice" task :default => :test desc "Run unit tests" task :test do cd "test" do ruby "test_rice.rb" end end desc "Build the documentation" task :doc do sh "make doc" end desc "Upload documentation to the website. Requires rubyforge gem" task :upload_web => [:doc] do host = "jameskilton@rubyforge.org" Rake::SshDirPublisher.new(host, PROJECT_WEB_PATH, "doc/html").upload end # Gemspec kept externally eval(File.read("rice.gemspec")) Gem::PackageTask.new($spec) do |pkg| end
Version data entries
11 entries across 11 versions & 2 rubygems