Sha256: e73167d0da22cec14cb7c3e332bc34f738a4756b5446cdacfcb0605b927a2f91
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
#!/bin/bash set -e update-license-header() { perl -i -0pe 's/\/\*.*\n.*Copyright.*Stratumn.*\n(.*\n)*\*\/\n/`cat LICENSE_HEADER`/ge' $1 } directories="src test" extensions="js" for d in $directories; do if [ -d "$d" ]; then for e in $extensions; do for f in $(find $d -name "*.$e"); do update-license-header $f done done fi done
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mapexplorer-rails-1.0.0 | vendor/assets/stratumn-agent-client/update-license-headers.sh |