Sha256: 36996b54293500fe8ad9987bc08e5d6eda5145ded6973a64c3d95e89dce32d53

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

guard :process, name: 'HTTP/2 Server', command: 'ruby example/server.rb', stop_signal: 'TERM' do
  watch(%r{^example/(.+)\.rb$})
  watch(%r{^lib/http/2/(.+)\.rb$})

  watch('Gemfile.lock')
end

def h2spec
  puts 'Starting H2 Spec'
  sleep 0.7
  system '~/go-workspace/bin/h2spec -p 8080 -o 1 -s 4.2'
  puts "\n"
end

guard :shell, name: 'H2 Spec' do
  watch(%r{^example/(.+)\.rb$})    { h2spec }
  watch(%r{^lib/http/2/(.+)\.rb$}) { h2spec }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
http-2-0.9.1 Guardfile
http-2-0.9.0 Guardfile
http-2-0.8.4 Guardfile
http-2-0.8.3 Guardfile