Skip to content

Commit

Permalink
Make build.rb executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Mar 19, 2009
1 parent 3f2c932 commit 5d71028
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env ruby
#accepts any of these three arguments: compress website documentation
require 'rubygems'
require 'ftools'
Expand Down Expand Up @@ -81,4 +82,4 @@ def format_example(example)
target = File.new("extensions/website/#{key}.html",'w+')
target.write(source[0,source.index('<!-- CONTENT -->')] + format_example(example) + source[source.index('<!-- /CONTENT -->') + 17,source.length])
end
end
end

0 comments on commit 5d71028

Please sign in to comment.