Changeset 241

Show
Ignore:
Timestamp:
03/10/2008 22:19:54 (9 months ago)
Author:
archengule
Message:

Fix ticket:150 Rakefile will now get correct svn revision

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Rakefile

    r237 r241  
    88 
    99NAME = "camping" 
    10 REV = File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil 
     10REV = File.read(".svn/entries").split("\n")[3] rescue nil 
    1111VERS = ENV['VERSION'] || ("1.5" + (REV ? ".#{REV}" : "")) 
    1212CLEAN.include ['**/.*.sw?', '*.gem', '.config', 'test/test.log', '.*.pt']