[Nfd-dev] NFD and ndn-cxx license boilerplate update script

Junxiao Shi shijunxiao at email.arizona.edu
Fri Jan 9 09:25:24 PST 2015


Hi developers

I wrote a simple script to automatically add or update the license
boilerplate for C++ files in NFD and ndn-cxx repository.
https://gist.github.com/yoursunny/6297f3c70f5441213184

You may choose to use this script instead of manually pasting license
boilerplate into each file you've edited.

Install:

   1. download the script to the parent folder of where you've cloned NFD
   and ndn-cxx
   2. make it executable

Usage:

   1. make changes to code
   2. git add or git rm
   3. ../update-license.sh
   4. git commit

If you've already committed:

   1. ../update-license.sh HEAD^1
   2. git commit -a --amend



Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150109/09e4d2dd/attachment.html>


More information about the Nfd-dev mailing list