Changeset 3041 for lang/ruby/coderepos_stat
- Timestamp:
- 12/11/07 08:35:14 (13 months ago)
- Files:
-
- 1 modified
-
lang/ruby/coderepos_stat/Rakefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/coderepos_stat/Rakefile
r3039 r3041 35 35 path.parent.mkpath 36 36 end 37 if path.exist? 38 path.rename("#{path.to_s}.backup#{Time.now.strftime('%Y%m%d%H%M%S')}") 39 end 37 40 path.open('w') do |f| 38 41 YAML.dump(data, f) 39 42 end 40 43 end 44 end 41 45 46 desc 'cleanbackup' 47 task :cleanbackup do 48 require 'pathname' 49 Pathname.glob('data/*/*.yaml.backup*') do |path| 50 path.delete 51 end 42 52 end 53 54 task :clean => [:cleanbackup]
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)