Changeset 297

Show
Ignore:
Timestamp:
04/15/2008 08:41:50 (7 months ago)
Author:
jgarber
Message:

Update Rakefile with platform = 'mswin32'

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Rakefile

    r291 r297  
    99NAME = "redcloth" 
    1010OLD_NAME = "RedCloth" 
    11 SUMMARY = "a fast library for formatting Textile and Markdown as HTML" 
     11SUMMARY = "a fast library for formatting Textile as HTML" 
    1212REV = `svn info`[/Revision: (\d+)/, 1] rescue nil 
    1313VERS = ENV['VERSION'] || "3" + (REV ? ".#{REV}" : "") 
     
    128128  file name => [source, "#{ext}/redcloth_common.rl", "#{ext}/redcloth.h"] do 
    129129    @ragel_v ||= `ragel -v`[/(version )(\S*)/,2].split('.').map{|s| s.to_i} 
    130     if @ragel_v[0] > 6 || (@ragel_v[0] == 6 && @ragel_v[2] >= 1) 
     130    if @ragel_v[0] > 6 || (@ragel_v[0] == 6 && @ragel_v[1] >= 1) 
    131131      sh %{ragel #{source} -G2 -o #{name}} 
    132132    else 
     
    154154  s.name = OLD_NAME 
    155155  s.version = VERS 
    156   s.platform = Gem::Platform::WIN32 
     156  s.platform = 'mswin32' 
    157157  s.has_rdoc = false 
    158158  s.extra_rdoc_files = ["README", "CHANGELOG", "COPYING"]