Sha256: c27433b7a28e679299b72da1af3ad2559a595c61ac37e51fd214a5ec97bce193
Contents?: true
Size: 492 Bytes
Versions: 29
Compression:
Stored size: 492 Bytes
Contents
guard 'shell' do watch(/^.*\.adoc$/) { |m| if not m[0].start_with?('_preview') and not m[0].start_with?('_package') full_path = m[0].split('/') src_group_path = full_path.length == 1 ? '' : full_path[0..-2].join('/') filename = full_path[-1][0..-6] system("asciibinder build --page='#{src_group_path}:#{filename}'") end } end guard 'livereload' do watch(%r{^_preview/.+\.(css|js|html)$}) watch(%r{^_preview/.+\/.+\/.+\.(css|js|html)$}) end
Version data entries
29 entries across 29 versions & 2 rubygems