Sha256: 7b04be477b880accc0db5d951e2d5c9618f68604d90f96b9280fc5a29b0096a8
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 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 less" 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/mapexplorer-core/update-license-headers.sh |