File: Guardfile.h2spec

package info (click to toggle)
ruby-http-2 0.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,384 kB
  • sloc: ruby: 5,399; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
def h2spec
  puts "Starting H2 Spec"
  sleep 0.7
  system '~/go-workspace/bin/h2spec -p 8080 -o 1 -s 5.1'
  puts "\n"
end

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