fix Gemfile & Guardfile

This commit is contained in:
Yuan Chiu 2014-09-29 23:27:37 +08:00
parent 6f6f08fd9b
commit 078cead34e
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
source 'https://rubygems.org'
group :development do group :development do
gem 'guard' gem 'guard'
gem 'guard-livereload', require: false gem 'guard-livereload', require: false
@ -6,4 +7,5 @@ group :development do
gem 'rb-fsevent' gem 'rb-fsevent'
gem 'ruby_gntp' gem 'ruby_gntp'
gem 'growl' gem 'growl'
gem 'libnotify'
end end

View File

@ -10,6 +10,7 @@ notification :growl
# Linux用的通知中心 # Linux用的通知中心
notification :libnotify notification :libnotify
#PHPDoc
guard :shell do guard :shell do
watch(%r{htdocs/.+\.(php)}) do watch(%r{htdocs/.+\.(php)}) do
system 'phpdoc', '-d', './htdocs/lib', '-t', './docs/' system 'phpdoc', '-d', './htdocs/lib', '-t', './docs/'