An open API service indexing awesome lists of open source software.

https://github.com/specht/update-license

A GPL or LGPL license in source files bulk updater
https://github.com/specht/update-license

Last synced: 9 months ago
JSON representation

A GPL or LGPL license in source files bulk updater

Awesome Lists containing this project

README

          

h2. update-license.rb

This is a script which updates GPL licenses with the current year in source files.

For example:


/*
Copyright (c) 2007-2008 Michael Specht

This file is part of GPF.

GPF is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

...

Something like the snippet above should probably be updated every year to reflect the current year. This script automates this task.