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