Sha256: bf40a85b4b6e197a4d1cb48d61db96545371cf295b34a5a3a99a37ccfd81bc95

Contents?: true

Size: 555 Bytes

Versions: 18

Compression:

Stored size: 555 Bytes

Contents

# Boxes maintenance tasks
namespace :boxes do
  task :update => [:repack_main, :repack_testing]

  task :repack_main do
    boxes_dir = File.expand_path("../../example_boxes", __FILE__)
    Dir.chdir(boxes_dir)

    puts "Repacking main box"
    system('tar cvzf ../google.box -C ./gce ./metadata.json')
  end

  task :repack_testing do
    boxes_dir = File.expand_path("../../example_boxes", __FILE__)
    Dir.chdir(boxes_dir)

    puts "Repacking test box"
    system('tar cvzf ../google-test.box -C ./gce-test ./metadata.json ./Vagrantfile')
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
vagrant-google-2.7.0 tasks/boxes.rake
vagrant-google-2.6.0 tasks/boxes.rake
vagrant-google-2.5.0 tasks/boxes.rake
vagrant-google-2.4.0 tasks/boxes.rake
vagrant-google-2.4.0.rc0 tasks/boxes.rake
vagrant-google-2.3.0 tasks/boxes.rake
vagrant-google-2.3.0.rc0 tasks/boxes.rake
vagrant-google-2.2.1 tasks/boxes.rake
vagrant-google-2.2.0 tasks/boxes.rake
vagrant-google-2.2.0.rc0 tasks/boxes.rake
vagrant-google-2.1.0 tasks/boxes.rake
vagrant-google-2.0.0 tasks/boxes.rake
vagrant-google-2.0.0.rc1 tasks/boxes.rake
vagrant-google-2.0.0.rc0 tasks/boxes.rake
vagrant-google-1.0.0 tasks/boxes.rake
vagrant-google-1.0.0.rc0 tasks/boxes.rake
vagrant-google-0.2.5 tasks/boxes.rake
vagrant-google-0.2.5.rc0 tasks/boxes.rake