Sha256: 78446ab390e3f2e953eb431aa9780194b1673158cfd81e154bf1b2b153b97775
Contents?: true
Size: 447 Bytes
Versions: 20
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
20 entries across 20 versions & 1 rubygems