"Fossies" - the Fresh Open Source Software Archive

Member "asciidoctor-2.0.10/Guardfile" (1 Jun 2019, 422 Bytes) of package /linux/www/asciidoctor-2.0.10.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # use `guard start -n f` to disable notifications
    2 # or set the environment variable GUARD_NOTIFY=false
    3 notification :libnotify,
    4   :display_message => true,
    5   :timeout => 5, # in seconds
    6   :append => false,
    7   :transient => true,
    8   :urgency => :critical
    9 
   10 guard :test do
   11   watch(%r{^lib/(.+)\.rb$}) do |m|
   12     "test/#{m[1]}_test.rb"
   13   end
   14   watch(%r{^test.+_test\.rb$})
   15   watch('test/test_helper.rb') do
   16     "test"
   17   end
   18 end