fix guard file
This commit is contained in:
parent
a85548550d
commit
5cbb643571
4
Gemfile
4
Gemfile
@ -4,8 +4,8 @@ group :development do
|
||||
gem 'guard-livereload', require: false
|
||||
gem 'guard-shell'
|
||||
gem 'guard-phpunit2'
|
||||
gem 'rb-fsevent'
|
||||
gem 'rb-fsevent'
|
||||
gem 'ruby_gntp'
|
||||
gem 'growl'
|
||||
gem 'libnotify'
|
||||
end
|
||||
end
|
||||
|
@ -6,9 +6,9 @@
|
||||
#
|
||||
|
||||
# Mac用的通知中心
|
||||
notification :growl
|
||||
#notification :growl
|
||||
# Linux用的通知中心
|
||||
notification :libnotify
|
||||
#notification :libnotify
|
||||
scope groups: [:build, :livereload, :test]
|
||||
|
||||
group :build do
|
||||
@ -32,8 +32,8 @@ group :test do
|
||||
guard :phpunit2, :all_on_start => false, :tests_path => 'tests/', :cli => '--colors -c phpunit.xml' do
|
||||
# Run any test in app/tests upon save.
|
||||
watch(%r{^tests/.+Test\.php$})
|
||||
|
||||
|
||||
# When a file is edited, try to run its associated test.
|
||||
watch(%r{^htdocs/lib/(.+)\.php}) { |m| "tests/#{m[1]}Test.php" }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user