Rakefile in infrataster-0.1.7 vs Rakefile in infrataster-0.1.8
- old
+ new
@@ -27,28 +27,10 @@
desc 'Clean'
task :clean => ['destroy_vm', 'remove_berks'] do
end
desc 'Prepare'
- task :prepare => ['download_browsermob', 'start_vm'] do
- end
-
- task :download_browsermob do
- dir = File.join(integration_dir, 'vm/vendor/browsermob')
- unless Dir.exist?(dir)
- puts yellow("Downloading browsermob...")
- Dir.mktmpdir do |tmp|
- open('https://s3-us-west-1.amazonaws.com/lightbody-bmp/browsermob-proxy-2.0-beta-9-bin.zip') do |remote|
- open(File.join(tmp, 'browsermob-proxy.zip'), 'wb') do |f|
- f.write(remote.read)
- end
- end
- Dir.chdir(tmp) do
- system "unzip browsermob-proxy.zip"
- end
- FileUtils.mv(File.join(tmp, 'browsermob-proxy-2.0-beta-9'), dir)
- end
- end
+ task :prepare => ['start_vm'] do
end
task :berks_vendor do
dir = File.join(integration_dir, 'vm/vendor/cookbooks')
# Berkshelf