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: 2cebb91892e7528ea3b77fd4740cadf847126dd7 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby
# frozen_string_literal: true

require_relative '../lib/tooling/view_to_js_mappings'

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

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