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

Version Path
rollbar-3.6.0 lib/tasks/tasks.rake
rollbar-3.5.2 lib/tasks/tasks.rake
rollbar-3.5.1 lib/tasks/tasks.rake
rollbar-3.5.0 lib/tasks/tasks.rake
rollbar-3.4.2 lib/tasks/tasks.rake
rollbar-3.4.1 lib/tasks/tasks.rake
rollbar-3.4.0 lib/tasks/tasks.rake
rollbar-3.3.3 lib/tasks/tasks.rake
rollbar-3.3.2 lib/tasks/tasks.rake
rollbar-3.3.1 lib/tasks/tasks.rake
rollbar-3.3.0 lib/tasks/tasks.rake
rollbar-3.2.0 lib/tasks/tasks.rake
rollbar-3.1.2 lib/tasks/tasks.rake
rollbar-3.1.1 lib/tasks/tasks.rake
rollbar-3.1.0 lib/tasks/tasks.rake
rollbar-3.0.1 lib/tasks/tasks.rake
rollbar-3.0.0 lib/tasks/tasks.rake
rollbar-2.27.1 lib/tasks/tasks.rake
rollbar-2.27.0 lib/tasks/tasks.rake
rollbar-2.26.1 lib/tasks/tasks.rake