<div dir="ltr">Hi developers<div><br></div><div>I wrote a simple script to automatically add or update the license boilerplate for C++ files in NFD and ndn-cxx repository.</div><div><a href="https://gist.github.com/yoursunny/6297f3c70f5441213184">https://gist.github.com/yoursunny/6297f3c70f5441213184</a><br></div><div><br></div><div>You may choose to use this script instead of manually pasting license boilerplate into each file you've edited.<br></div><div><br></div><div>Install: </div><ol><li>download the script to the parent folder of where you've cloned NFD and ndn-cxx</li><li>make it executable</li></ol><div>Usage:</div><div><ol><li>make changes to code</li><li>git add or git rm</li><li>../update-license.sh</li><li>git commit<br></li></ol></div><div>If you've already committed:</div><div><ol><li>../update-license.sh HEAD^1</li><li>git commit -a --amend</li></ol></div><div><br></div><div><br></div><div>Yours, Junxiao</div></div>