Move README to html for github

This commit is contained in:
Dave Syer
2014-09-26 11:37:11 +01:00
parent 9ff97709d7
commit 2ba9893e8c
4 changed files with 5 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ options = {:mkdirs => true, :safe => :unsafe, :attributes => 'linkcss'}
guard 'shell' do
watch(/^[A-Za-z].*\.adoc$/) {|m|
Asciidoctor.render_file('src/main/adoc/README.adoc', options.merge(:to_dir => '.'))
Asciidoctor.render_file('src/main/adoc/README.adoc', options.merge(:to_file => './README.md'))
Asciidoctor.render_file('src/main/adoc/spring-cloud-config.adoc', options.merge(:to_dir => 'target/docs'))
}
end