Welcome to mirror list, hosted at ThFree Co, Russian Federation.

view_to_js_mappings « bin « tooling - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 483003aac5efcb6eb8ccd5a279bd3602f4acf2d0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby
# frozen_string_literal: true

require_relative '../lib/tooling/mappings/view_to_js_mappings'

changes       = ARGV.shift
output_file   = ARGV.shift
changed_files = File.read(changes).split(' ')

File.write(output_file, Tooling::Mappings::ViewToJsMappings.new.execute(changed_files).join(' '))