mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
setup examples to run from default rake
This commit is contained in:
parent
763d7940c4
commit
902908b843
3 changed files with 7 additions and 1 deletions
8
Rakefile
8
Rakefile
|
@ -45,7 +45,13 @@ end
|
|||
|
||||
task :default => :test
|
||||
|
||||
task :test do
|
||||
task :examples do
|
||||
sh("export FOG_MOCK=false && bundle exec shindont examples")
|
||||
# some don't provide mocks so we'll leave this out for now
|
||||
# sh("export FOG_MOCK=true && bundle exec shindont examples")
|
||||
end
|
||||
|
||||
task :test => :examples do
|
||||
sh("export FOG_MOCK=true && bundle exec spec spec") &&
|
||||
sh("export FOG_MOCK=true && bundle exec shindont tests") &&
|
||||
sh("export FOG_MOCK=false && bundle exec spec spec") &&
|
||||
|
|
Loading…
Reference in a new issue