vcastellm / guard-go

Run and restart go programs when changed
MIT License
24 stars 13 forks source link

Allow package to be specified for test mode #2

Closed DanielHeath closed 11 years ago

DanielHeath commented 11 years ago

This change allows the following stanza:

guard 'go', :test => true, :package => 'auth/config' do
  watch(%r{src/auth/config/.*_test\.go$})
end

which will run

go test auth/config