Update licenses to new standards... plus New Years bump

This commit is contained in:
Mark VanderVoord
2025-01-01 12:05:55 -05:00
parent d5e938e4b1
commit a60383ec34
194 changed files with 1311 additions and 187 deletions
+7
View File
@@ -1,3 +1,10 @@
# =========================================================================
# CMock - Automatic Mock Generation for C
# ThrowTheSwitch.org
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
# SPDX-License-Identifier: MIT
# =========================================================================
require 'fileutils'
ABS_ROOT = FileUtils.pwd
CMOCK_DIR = File.expand_path(ENV.fetch('CMOCK_DIR', File.join(ABS_ROOT, '..', '..')))
+7
View File
@@ -1,3 +1,10 @@
# =========================================================================
# CMock - Automatic Mock Generation for C
# ThrowTheSwitch.org
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
# SPDX-License-Identifier: MIT
# =========================================================================
require "#{ENV['CMOCK_DIR']}/lib/cmock"
raise 'Header file to mock must be specified!' unless ARGV.length >= 1
+7
View File
@@ -1,3 +1,10 @@
# =========================================================================
# CMock - Automatic Mock Generation for C
# ThrowTheSwitch.org
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
# SPDX-License-Identifier: MIT
# =========================================================================
if $0 == __FILE__
# make sure there is at least one parameter left (the input file)
+7
View File
@@ -1,3 +1,10 @@
# =========================================================================
# CMock - Automatic Mock Generation for C
# ThrowTheSwitch.org
# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
# SPDX-License-Identifier: MIT
# =========================================================================
suppress_error = !ARGV.nil? && !ARGV.empty? && (ARGV[0].casecmp('--SILENT') == 0)
begin