Add Sublime Text files to the license check configuration

This commit is contained in:
Jocelyn Turcotte 2021-05-02 20:31:05 +02:00 committed by Simon Hausmann
parent d468d10d63
commit beadd38b3e
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,12 @@
# LICENSE BEGIN
# This file is part of the SixtyFPS Project -- https://sixtyfps.io
# Copyright (c) 2020 Olivier Goffart <olivier.goffart@sixtyfps.io>
# Copyright (c) 2020 Simon Hausmann <simon.hausmann@sixtyfps.io>
#
# SPDX-License-Identifier: GPL-3.0-only
# This file is also available under commercial licensing terms.
# Please contact info@sixtyfps.io for more information.
# LICENSE END
%YAML 1.2 %YAML 1.2
--- ---
# See http://www.sublimetext.com/docs/3/syntax.html # See http://www.sublimetext.com/docs/3/syntax.html

View file

@ -214,6 +214,9 @@ lazy_static! {
(".+\\.yaml$", LicenseLocation::Tag(LicenseTagStyle::shell_comment_style())), (".+\\.yaml$", LicenseLocation::Tag(LicenseTagStyle::shell_comment_style())),
(".*\\.gitignore$", LicenseLocation::NoLicense), (".*\\.gitignore$", LicenseLocation::NoLicense),
(".*\\.gitattributes$", LicenseLocation::NoLicense), (".*\\.gitattributes$", LicenseLocation::NoLicense),
(".+\\.sublime-settings$", LicenseLocation::Tag(NoLicense::shell_comment_style())),
(".+\\.sublime-commands$", LicenseLocation::Tag(NoLicense::shell_comment_style())),
(".+\\.sublime-syntax$", LicenseLocation::Tag(LicenseTagStyle::shell_comment_style())),
("\\.clang-format$", LicenseLocation::NoLicense), ("\\.clang-format$", LicenseLocation::NoLicense),
(".+Dockerfile.*$", LicenseLocation::Tag(LicenseTagStyle::shell_comment_style())), (".+Dockerfile.*$", LicenseLocation::Tag(LicenseTagStyle::shell_comment_style())),
("^api/sixtyfps-cpp/docs/Pipfile$", LicenseLocation::NoLicense), ("^api/sixtyfps-cpp/docs/Pipfile$", LicenseLocation::NoLicense),