Show
Ignore:
Timestamp:
10/08/07 09:19:14 (7 years ago)
Author:
cho45
Message:

lang/ruby/cutagem/templates/default/Rakefile,
lang/ruby/cutagem/templates/command/Rakefile:

デフォルトのテンプレートを多少マシに

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/cutagem/templates/command/Rakefile

    r424 r426  
    1010include FileUtils 
    1111 
    12 AUTHOR = "<%=author%>" 
    13 EMAIL = "<%=email%>" 
    14 DESCRIPTION = "<%=description%>" 
    15 RUBYFORGE_PROJECT = "<%=gemid%>" 
    16 HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org" 
    17 BIN_FILES = %w(  ) 
    18 VERS = "0.0.1" 
     12NAME              = "<%=gemname%>" 
     13AUTHOR            = "<%=author%>" 
     14EMAIL             = "<%=email%>" 
     15DESCRIPTION       = "<%=description%>" 
     16RUBYFORGE_PROJECT = "<%=config['meta_project'] || gemid%>" 
     17HOMEPATH          = "http://#{RUBYFORGE_PROJECT}.rubyforge.org" 
     18BIN_FILES         = %w( <%=gemname%> ) 
     19VERS              = "0.0.1" 
    1920 
    2021 
    21 NAME = "<%=gemname%>" 
    2222REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil 
    2323CLEAN.include ['**/.*.sw?', '*.gem', '.config'] 
    24 RDOC_OPTS = ['--title', "#{NAME} documentation", 
     24RDOC_OPTS = [ 
     25        '--title', "#{NAME} documentation", 
    2526        "--charset", "utf-8", 
    2627        "--opname", "index.html", 
     
    3031] 
    3132 
    32 desc "Packages up #{NAME} gem." 
    3333task :default => [:test] 
    3434task :package => [:clean] 
    3535 
    36 Rake::TestTask.new("test") { |t| 
    37         t.libs << "test" 
     36Rake::TestTask.new("test") do |t| 
     37        t.libs   << "test" 
    3838        t.pattern = "test/**/*_test.rb" 
    3939        t.verbose = true 
    40 } 
     40end 
    4141 
    4242spec = Gem::Specification.new do |s|