Sha256: b2e7890fc49129927227e748e9a4d9e56add03bf6d5f536d5ee479acdf290e5a

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 Bytes

Contents

#!/usr/bin/env perl -i -p

# Adds copyright headers to files passed in.
# Example:
# find . -name '*.rb' -exec bin/add-copyright-header.pl {} \;

$header = <<'END_HEADER';
#
# Copyright (c) 2019-present, Blue Marble Payroll, LLC
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
END_HEADER

s/(# frozen_string_literal: true\n)/$1\n$header/

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
date_holidays-reader-1.0.4 bin/add-copyright-header.pl
date_holidays-reader-1.0.3 bin/add-copyright-header.pl
date_holidays-reader-1.0.2 bin/add-copyright-header.pl
date_holidays-reader-1.0.1 bin/add-copyright-header.pl
date_holidays-reader-1.0.0 bin/add-copyright-header.pl
date_holidays-reader-0.9.9 bin/add-copyright-header.pl