Files
spring-cloud-build/spring-cloud-dependencies-parent/Guardfile
Dave Syer e1fabfc4a2 Add new module for BOMs in other projects
The top level project here now is spring-cloud-build and any library
in Spring Cloud should try and use it as a parent to avoid duplicate
plugin and build declarations.

The new module here is spring-cloud-dependencies-parent and all
BOMs in Spring Cloud should use this as a parent (for the same reason).
All sub-projects in Spring Cloud should have a BOM, and if they want to
(usually they do) they can use it to define dependencies by importing
it into their parent.

User's apps should use the spring-cloud-*-dependencies if they need
a BOM (because they do *not* have spring-boot-* as a parent). Then
they can choose a version of Spring Boot more easily (by choosing
a version of spring-boot-starter-parent).
2016-01-07 13:31:43 +00:00

13 lines
523 B
Ruby

require 'asciidoctor'
require 'erb'
options = {:mkdirs => true, :safe => :unsafe, :attributes => 'linkcss'}
guard 'shell' do
watch(/^[A-Za-z].*\.adoc$/) {|m|
Asciidoctor.load_file('src/main/asciidoc/README.adoc', :to_file => './README.adoc', safe: :safe, parse: false)
Asciidoctor.render_file('src/main/asciidoc/spring-cloud-build.adoc', options.merge(:to_dir => 'target/generated-docs'))
Asciidoctor.render_file('src/main/asciidoc/building.adoc', options.merge(:to_dir => 'target/generated-docs'))
}
end