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-2.26.0 lib/tasks/tasks.rake
rollbar-2.25.1 lib/tasks/tasks.rake
rollbar-2.25.0 lib/tasks/tasks.rake
rollbar-2.24.0 lib/tasks/tasks.rake
rollbar-2.23.2 lib/tasks/tasks.rake
rollbar-2.23.1 lib/tasks/tasks.rake
rollbar-2.23.0 lib/tasks/tasks.rake
rollbar-2.22.1 lib/tasks/tasks.rake
rollbar-2.22.0 lib/tasks/tasks.rake
rollbar-2.21.0 lib/tasks/tasks.rake
rollbar-2.20.2 lib/tasks/tasks.rake
rollbar-2.20.1 lib/tasks/tasks.rake
rollbar-2.20.0 lib/tasks/tasks.rake
rollbar-2.19.4 lib/tasks/tasks.rake
rollbar-2.19.3 lib/tasks/tasks.rake
rollbar-2.19.2 lib/tasks/tasks.rake
rollbar-2.19.1 lib/tasks/tasks.rake
rollbar-2.19.0 lib/tasks/tasks.rake
rollbar-2.18.2 lib/tasks/tasks.rake
rollbar-2.18.0 lib/tasks/tasks.rake