diff --git a/Gemfile b/Gemfile index 2ec68f2..5673a09 100644 --- a/Gemfile +++ b/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 \ No newline at end of file +end diff --git a/Guardfile b/Guardfile index 7c93181..c339fdf 100644 --- a/Guardfile +++ b/Guardfile @@ -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 \ No newline at end of file +end