Skip to content

Commit

Permalink
#94 Added new rule and tests to detect GPL license
Browse files Browse the repository at this point in the history
  • Loading branch information
rakesh balusa committed Aug 25, 2016
1 parent 1f28d5b commit 2da4074
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/licensedcode/data/rules/gpl-2.0_81.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/gpl-2.0_81.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
licenses:
- gpl-2.0

4 changes: 4 additions & 0 deletions tests/licensedcode/data/licenses/gpl-2.0_45.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
2 changes: 2 additions & 0 deletions tests/licensedcode/data/licenses/gpl-2.0_45.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
licenses:
- gpl-2.0

0 comments on commit 2da4074

Please sign in to comment.