File: Rakefile

package info (click to toggle)
chef-zero 3.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 616 kB
  • ctags: 649
  • sloc: ruby: 4,825; sh: 6; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'chef_zero/version'

task :default => :pedant

task :spec do
  system('rspec spec/*_spec.rb')
end

task :pedant do
  require File.expand_path('spec/run_pedant')
end

task :oc_pedant do
  require File.expand_path('spec/run_oc_pedant')
end

task :chef_spec do
  gem_path = Bundler.environment.specs['chef'].first.full_gem_path
  system("cd #{gem_path} && rspec spec/integration")
end

task :berkshelf_spec do
  gem_path = Bundler.environment.specs['berkshelf'].first.full_gem_path
  system("cd #{gem_path} && thor spec:ci")
end