diff --git a/Gemfile b/Gemfile index bf89039..2ec68f2 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ +source 'https://rubygems.org' group :development do gem 'guard' gem 'guard-livereload', require: false @@ -6,4 +7,5 @@ group :development do gem 'rb-fsevent' gem 'ruby_gntp' gem 'growl' + gem 'libnotify' end \ No newline at end of file diff --git a/Guardfile b/Guardfile index 9f83330..bd862b6 100644 --- a/Guardfile +++ b/Guardfile @@ -10,6 +10,7 @@ notification :growl # Linux用的通知中心 notification :libnotify +#PHPDoc guard :shell do watch(%r{htdocs/.+\.(php)}) do system 'phpdoc', '-d', './htdocs/lib', '-t', './docs/'