Skip to content

Commit 36240d8

Browse files
committed
Update copyright year
1 parent 3fcbdc8 commit 36240d8

45 files changed

Lines changed: 50 additions & 46 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ build/compile_commands.json: Makefile
218218

219219

220220
# Phony targets
221-
.PHONY: clean dist docs set-version unzip-to-build
221+
.PHONY: clean dist docs set-version unzip-to-build update-copyright-year
222222
clean:
223223
$(RM) -r $(wildcard build/**) plugin/luasrcdiet/*
224224

@@ -228,7 +228,7 @@ docs:
228228
ldoc . $(LDOC_ARGS)
229229

230230
set-version:
231-
sed -i '' -E -e 's/[0-9]+\.[0-9]+\.[0-9]+/$(VERSION)/' \
231+
sed -i -E -e 's/[0-9]+\.[0-9]+\.[0-9]+/$(VERSION)/' \
232232
src/late_globals.lua \
233233
plugin/plugin.cfg
234234

@@ -242,6 +242,10 @@ else
242242
endif
243243
cp -R $(ZIP_TEMP_FOLDER)/addons/godot-lua-pluginscript/build/. build
244244

245+
update-copyright-year:
246+
sed -i -E -e 's/(Copyright [^0-9]*)([0-9]+)(-[0-9]+)?/\1\2-$(shell date +%Y)/' \
247+
$(wildcard src/*.c src/*.lua)
248+
245249

246250
# Miscelaneous targets
247251
plugin: $(LUASRCDIET_DEST)

src/cache_lua_libs.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file cache_lua_libs.lua Some Lua globals cached as locals
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_aabb.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_aabb.lua Wrapper for GDNative's AABB
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_array.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_array.lua Wrapper for GDNative's Array
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_array_commons.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_array_commons.lua Common functionality between Array and Pool*Arrays
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_basis.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_basis.lua Wrapper for GDNative's Basis
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_class.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_class.lua Method Binds and generic Godot Class definitions
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_color.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_color.lua Wrapper for GDNative's Color
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_dictionary.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_dictionary.lua Wrapper for GDNative's Dictionary
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

src/godot_enums.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- @file godot_globals.lua Global Godot functionality and enum values
22
-- This file is part of Godot Lua PluginScript: https://github.com/gilzoide/godot-lua-pluginscript
33
--
4-
-- Copyright (C) 2021 Gil Barbosa Reis.
4+
-- Copyright (C) 2021-2023 Gil Barbosa Reis.
55
--
66
-- Permission is hereby granted, free of charge, to any person obtaining a copy
77
-- of this software and associated documentation files (the “Software”), to

0 commit comments

Comments
 (0)