Its now safe to run rake and guard from outside the dev box
This commit is contained in:
parent
61c4982fde
commit
76ec1326b6
2 changed files with 0 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
||||||
# A sample Guardfile
|
# A sample Guardfile
|
||||||
# More info at https://github.com/guard/guard#readme
|
# More info at https://github.com/guard/guard#readme
|
||||||
|
|
||||||
raise 'You should start guard from the dev box!' unless ENV['USER'] == 'vagrant'
|
|
||||||
|
|
||||||
guard 'bundler' do
|
guard 'bundler' do
|
||||||
watch('Gemfile')
|
watch('Gemfile')
|
||||||
watch(/^.+\.gemspec/)
|
watch(/^.+\.gemspec/)
|
||||||
|
|
2
Rakefile
2
Rakefile
|
@ -1,3 +1 @@
|
||||||
raise 'This Rakefile is meant to be used from the dev box' unless ENV['USER'] == 'vagrant'
|
|
||||||
|
|
||||||
Dir['./tasks/**/*.rake'].each { |f| load f }
|
Dir['./tasks/**/*.rake'].each { |f| load f }
|
||||||
|
|
Loading…
Reference in a new issue