From 23a7f3baa33265519840609dc54e950615ec39b1 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 3 Jan 2020 18:04:08 +0200 Subject: Merge some QoL improvements from staging branch - Build executable in top-level buildroot - Use meson sourceset - Pull in poi-crash and poi-update from staging - Remove extraneous scripts in tools/ - Pull in configure scripts in scripts/ --- tools/check-license.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 tools/check-license.rb (limited to 'tools/check-license.rb') diff --git a/tools/check-license.rb b/tools/check-license.rb deleted file mode 100755 index 8eeb6bb..0000000 --- a/tools/check-license.rb +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env ruby - -result = 0 -files = Dir.glob("src/**/*.h") + Dir.glob("src/**/*.cpp") \ - + Dir.glob("lib/**/*.h") + Dir.glob("lib/**/*.cpp") \ - + Dir.glob("plugins/**/*.h") + Dir.glob("plugins/**/*.cpp") - -puts 'Checking licenses...' -files.each { |name| - File.open(name) { |file| - if file.grep(/SPDX-License-Identifier/).empty? then - puts "Missing or incorrect license header: #{name}" - result += 1 - end - } -} - -exit result -- cgit v1.2.1