about summary refs log tree commit homepage
path: root/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-08-25 00:58:14 +0000
committerEric Wong <normalperson@yhbt.net>2013-08-25 02:10:32 +0000
commit6c2ec9e4bd3c55221c05ba8b0f9f0cad782fbcc3 (patch)
tree0212b14f5fef3becdea65729f0167f5f36d0e842 /GIT-VERSION-GEN
parent78e9feabf8030bbf37f36977c3f6ebca78260b20 (diff)
downloaddtas-6c2ec9e4bd3c55221c05ba8b0f9f0cad782fbcc3.tar.gz
Rename COPYRIGHT -> COPYING, as that seems to be the more common
name for the GPLv3 license file.  Kill all rdoc, since I don't
agree with HTML documentation and we do not expose any Ruby APIs.
Diffstat (limited to 'GIT-VERSION-GEN')
-rwxr-xr-xGIT-VERSION-GEN2
1 files changed, 1 insertions, 1 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index f690dcd..140828f 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -25,6 +25,6 @@ vn = vn.sub!(/\Av/, "")
 new_ruby_version = "#{CONSTANT} = '#{vn}'\n"
 cur_ruby_version = File.read(RVF) rescue nil
 if new_ruby_version != cur_ruby_version
-  File.open(RVF, "w") { |fp| fp.write(new_ruby_version) }
+  File.open(RVF, "w") { |fp| fp.write("# :enddoc:\n#{new_ruby_version}") }
 end
 puts vn if $0 == __FILE__