require "bundler/gem_tasks" desc "Update the source from the webshim github [Specify REF and VERSION]." task :update do if ! ENV['REF'] raise "No REF value given. Set branch/tag/id, e.g., REF=1.2.2" end if ! ENV['VERSION'] raise "No VERSION value given. Set version, e.g., VERSION=1.2.2" end ref = ENV['REF'] version = ENV['VERSION'] cmd = <