Sha256: 5b3d6c25f5a2a905ab7068362e4bb1ccb31bb9d260cd0d33d751556d010a92cd
Contents?: true
Size: 447 Bytes
Versions: 52
Compression:
Stored size: 447 Bytes
Contents
require 'fileutils' desc 'Update rollbar.js snippet' task :update_snippet do input_path = File.expand_path('../../../rollbar.js/dist/rollbar.snippet.js', __FILE__) output_path = File.expand_path('../../../data/rollbar.snippet.js', __FILE__) output_dir = File.expand_path('../../../data/', __FILE__) $stdout.write("Copying #{input_path} to #{output_path}\n") FileUtils.mkdir_p(output_dir) FileUtils.copy(input_path, output_path) end
Version data entries
52 entries across 52 versions & 1 rubygems