mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-09-08 20:51:41 +00:00
13 lines
491 B
Plaintext
13 lines
491 B
Plaintext
|
require 'asciidoctor'
|
||
|
require 'erb'
|
||
|
|
||
|
guard 'shell' do
|
||
|
watch(/^.*\.asc$/) {|m|
|
||
|
Asciidoctor.render_file(m[0], :to_dir => "build/", :safe => Asciidoctor::SafeMode::UNSAFE, :attributes=> {'toc' => '', 'idprefix' => '', 'idseparator' => '-', 'copycss' => '', 'icons' => 'font', 'source-highlighter' => 'prettify', 'sectanchors' => '', 'toc-placement' => 'preamble', 'spring-security-version' => '3.2.0.CI-SNAPSHOT'})
|
||
|
}
|
||
|
end
|
||
|
|
||
|
guard 'livereload' do
|
||
|
watch(%r{build/.+\.(css|js|html)$})
|
||
|
end
|