2023-03-17 16:20:25 +05:30
|
|
|
#!/usr/bin/env ruby
|
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-04-23 21:23:45 +05:30
|
|
|
require_relative '../lib/tooling/mappings/view_to_js_mappings'
|
2023-03-17 16:20:25 +05:30
|
|
|
|
|
|
|
changes = ARGV.shift
|
|
|
|
output_file = ARGV.shift
|
|
|
|
changed_files = File.read(changes).split(' ')
|
|
|
|
|
2023-04-23 21:23:45 +05:30
|
|
|
File.write(output_file, Tooling::Mappings::ViewToJsMappings.new.execute(changed_files).join(' '))
|