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

Version Path
rollbar-2.14.1 lib/tasks/tasks.rake
rollbar-2.14.0 lib/tasks/tasks.rake
rollbar-2.13.3 lib/tasks/tasks.rake
rollbar-2.13.2 lib/tasks/tasks.rake
rollbar-2.13.1 lib/tasks/tasks.rake
rollbar-2.13.0 lib/tasks/tasks.rake
rollbar-2.12.0 lib/tasks/tasks.rake
rollbar-2.11.5 lib/tasks/tasks.rake
rollbar-2.11.4 lib/tasks/tasks.rake
rollbar-2.11.3 lib/tasks/tasks.rake
rollbar-2.11.2 lib/tasks/tasks.rake
rollbar-2.11.1 lib/tasks/tasks.rake
rollbar-2.11.0 lib/tasks/tasks.rake
rollbar-2.10.0 lib/tasks/tasks.rake
rollbar-2.9.1 lib/tasks/tasks.rake
rollbar-2.9.0 lib/tasks/tasks.rake
rollbar-2.8.3 lib/tasks/tasks.rake
rollbar-2.8.2 lib/tasks/tasks.rake
rollbar-2.8.1 lib/tasks/tasks.rake
rollbar-2.8.0 lib/tasks/tasks.rake