forked from vmware-archive/cf-redis-release
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
37 lines (30 loc) · 914 Bytes
/
Rakefile
File metadata and controls
37 lines (30 loc) · 914 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
desc 'run all the specs'
task spec: %w(spec:unit spec:system)
desc 'Installs noaa'
task :install_noaa do
`go get github.com/cloudfoundry/noaa/samples/firehose`
end
namespace :spec do
require 'rspec/core/rake_task'
task :system => :install_noaa
desc 'run all of the system tests'
RSpec::Core::RakeTask.new(:system) do |t|
t.pattern = FileList['spec/system/**/*_spec.rb']
end
desc 'run all of the unit tests'
RSpec::Core::RakeTask.new(:unit) do |t|
t.pattern = FileList['spec/unit/**/*_spec.rb']
end
end
namespace :packages do
desc 'list blobs'
task :blobs do
$LOAD_PATH.unshift(File.expand_path('src/london_blob_checker/lib'))
require 'london_blob_checker/blob_config_scanner'
packages = LondonBlobChecker::BlobConfigScanner.new('config/blobs.yml').packages
packages.each do |p|
puts "Package #{p.name}\t#{p.version}"
end
end
end
task default: :spec