Skip to content

Commit 3ad5dfe

Browse files
New copyright header - remaining changes (#2089)
1 parent 1d304e6 commit 3ad5dfe

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.ide/idea-settings.jar

19 Bytes
Binary file not shown.

update_copyright.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
# ==
4+
# == New-year script, tested on a Mac
5+
# ==
6+
7+
# Prevent sed error 'illegal byte sequence'
8+
export LC_ALL=C LC_CTYPE=C LANG=C
9+
10+
newYear=`date +'%Y'`
11+
echo "Updating copyright notice to $newYear"
12+
13+
# Exclude specific directories: -type d \( -path ./.git -o -path ./.ide \) -prune -o
14+
# Make sed work on Mac: sed -e
15+
# Prevent making backups: -i ''
16+
find . -type d \( -path ./.git -o -path ./.ide \) -prune -o -type f -print0 | xargs -0 sed -i '' -e "s/Copyright 2014-2017 Vavr/Copyright 2014-$newYear Vavr/"

0 commit comments

Comments
 (0)