Fix comment pre-amble in README

This commit is contained in:
Dave Syer
2014-09-29 14:44:26 +01:00
parent 6c84806d5d
commit c2c3712759
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
// Do not edit this file (go to /home/dsyer/dev/cloud/scripts/bus/src/main/ruby/../../../src/main/asciidoc/README.adoc instead)= Spring Platform Bus
// Do not edit this file (go instead to src/main/asciidoc)
= Spring Platform Bus
Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions.

View File

@@ -31,7 +31,7 @@ module SpringCloud
def render_file file, options = {}
srcDir = File.dirname(file)
out = ["// Do not edit this file (go to #{file} instead)",""]
out = ["// Do not edit this file (go instead to src/main/asciidoc)\n","\n"]
File.new(file).each do |line|
self.process(out, srcDir, line)
end