fix Gemfile & Guardfile
This commit is contained in:
parent
6f6f08fd9b
commit
078cead34e
2
Gemfile
2
Gemfile
@ -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
|
@ -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/'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user