Skip to content

Commit

Permalink
Added a colour line for 0.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Hedderly committed May 19, 2008
1 parent 1dfb8cd commit 22e8c2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/hack_changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/ruby

file=File.read(File.dirname(__FILE__)+"/hobo/CHANGES.txt").to_a
file=File.read(File.dirname(__FILE__)+"/../hobo/CHANGES.txt").to_a

out=[]; oline=''; voline=''; @oindent=0; @inlist=0
file.each_index do |line|
Expand Down Expand Up @@ -37,8 +37,9 @@ file.each_index do |line|
#file[line] =~ /mmit/ && file[line] = "FOO"
end

f=File.open(File.dirname(__FILE__)+"/CHANGES.html","w")
f=File.open(File.dirname(__FILE__)+"/../hobo/CHANGES.html","w")
f.write '<html><head><style type="text/css">'+"\n"
f.write '.class0_7_5 {background-color: #fdc}'+"\n"
f.write '.class0_7_4 {background-color: #dff}'+"\n"
f.write '.class0_7_3 {background-color: #fdf}'+"\n"
f.write '.class0_7_2 {background-color: #ffd}'+"\n"
Expand Down

0 comments on commit 22e8c2d

Please sign in to comment.