commit | cfcce780c6f4b9e835160d12f14d147925f49974 | [log] [tgz] |
---|---|---|
author | Chetan Gaonker <chetang@calsoftlabs.com> | Tue May 10 10:10:42 2016 -0700 |
committer | Chetan Gaonker <chetang@calsoftlabs.com> | Tue May 10 10:10:42 2016 -0700 |
tree | 47208f038d29ad750338cf06185d1697205922cc | |
parent | a366a6739692138330e0b2d71e909c6f1fe59f95 [diff] [blame] |
Add Apache 2.0 license header to all test files
diff --git a/apply_license.sh b/apply_license.sh new file mode 100755 index 0000000..91ef37c --- /dev/null +++ b/apply_license.sh
@@ -0,0 +1,7 @@ +#!/usr/bin/env bash +for f in `find . -name "*.py"`; do + if ! grep -q Copyright $f; then + cat COPYRIGHT.txt $f > $f.license.py + mv $f.license.py $f + fi +done \ No newline at end of file