Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (9 sloc) 251 Bytes
set -e
update-license-header() {
perl -i -0pe 's/\/\/ Copyright .* Stratumn.*\n(\/\/.*\n)*/`cat LICENSE_HEADER`/ge' $1
for f in $(find . -name "*.go" | grep -v vendor); do
echo Updating $f...
update-license-header $f
You can’t perform that action at this time.