Changeset 437

Show
Ignore:
Timestamp:
10/09/07 06:45:37 (6 years ago)
Author:
cho45
Message:

lang/ruby/rdoc/generators/template/html/resh/gem,
lang/ruby/rdoc/generators/template/html/resh/gem/Rakefile,
lang/ruby/rdoc/generators/template/html/resh/gem/lib/rdoc/generators/template/html/resh,
lang/ruby/rdoc/generators/template/html/resh/gem/README:

ちゃんと publish できてなかったので修正そのた

Location:
lang/ruby/rdoc/generators/template/html/resh/gem
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/rdoc/generators/template/html/resh/gem

    • Property svn:ignore set to
      html
      pkg
  • lang/ruby/rdoc/generators/template/html/resh/gem/README

    r425 r437  
    3030 
    3131* Rake::RDocTask 
     32 
     33        Rake::RDocTask.new do |rdoc| 
     34                rdoc.rdoc_dir = 'html' 
     35                rdoc.options += RDOC_OPTS 
     36                rdoc.template = "resh" 
     37                if ENV['DOC_FILES'] 
     38                        rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,¥s*/)) 
     39                else 
     40                        rdoc.rdoc_files.include('README', 'Changelog') 
     41                        rdoc.rdoc_files.include('examples/simple.rb') 
     42                        rdoc.rdoc_files.include('lib/**/*.rb') 
     43                        rdoc.rdoc_files.include('ext/**/*.c') 
     44                end 
     45        end 
     46 
     47 
    3248* ~/.gemrc 
     49 
     50        rdoc: --template resh 
    3351 
    3452== Copyright 
  • lang/ruby/rdoc/generators/template/html/resh/gem/Rakefile

    r428 r437  
    66require 'rake/gempackagetask' 
    77require 'rake/rdoctask' 
     8require 'rake/contrib/sshpublisher' 
    89require 'rake/contrib/rubyforgepublisher' 
     10require 'rubyforge' 
    911require 'fileutils' 
    1012include FileUtils 
     
    1517DESCRIPTION = "A RDoc template." 
    1618RUBYFORGE_PROJECT = "lowreal" 
    17 HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org/#{NAME}/" 
     19HOMEPATH = "http://coderepos.org/share/wiki/Resh" 
    1820BIN_FILES = %w(  ) 
    1921VERS = "0.0.1" 
     
    106108desc "Publish to RubyForge" 
    107109task :rubyforge => [:rdoc, :package] do 
    108         SshDirPublisher.new( 
    109                 "cho45@rubyforge.org", 
    110                 "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/#{NAME}", 
    111                 "html" 
    112         ).upload 
     110        @local_dir = "html" 
     111        @host = "cho45@rubyforge.org" 
     112        @remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/#{NAME}" 
     113        sh %{scp -rq #{@local_dir} #{@host}:#{@remote_dir}} 
    113114end 
    114115 
  • lang/ruby/rdoc/generators/template/html/resh/gem/lib/rdoc/generators/template/html/resh

    • Property svn:ignore set to
      *