[devscripts] 04/07: licensecheck: parse css or less files

dod at debian.org dod at debian.org
Sat Dec 26 11:17:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository devscripts.

commit ec41cc2ca8f38c54e2679f451f757669646c254a
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Dec 26 12:02:42 2015 +0100

    licensecheck: parse css or less files
---
 debian/changelog        | 1 +
 scripts/licensecheck.pl | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 324d154..d6661e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,7 @@ devscripts (2.15.10) UNRELEASED; urgency=medium
     + added LLGPL license (part of #806424)
     + also parse last 5kb of a file
     + parse source file without suffix (e.g script, README)
+    + parse .css or .less file
     * tweaked to parse Artistic 2.0 license file
     * improved detection of artistic 2.0 licenses
 
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 7385bd1..2de0643 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -200,6 +200,7 @@ my $default_check_regex =
         c(c|pp|xx)?              # c and c++
        |h(h|pp|xx)?              # header files for c and c++
        |S
+       |css|less                 # HTML css and similar
        |f(77|90)?
        |go
        |groovy

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list