From 5ebea27e3b56cb46bdc2ee30bfb540b3fe5419ba Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Sat, 6 Jul 2024 23:42:07 +0200 Subject: [PATCH] Standard versioning --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index a124f7d..54f1c93 100644 --- a/init.lua +++ b/init.lua @@ -1,2 +1,5 @@ +local _VERSION = '0.5.0' -return assert(require((... and select('1', ...):match('.+')..'.' or '')..'assert-gooder'), '[assert-gooder]: Could not load vital library: assert-gooder') +local assert_gooder = assert(require((... and select('1', ...):match('.+')..'.' or '')..'assert-gooder'), '[assert-gooder]: Could not load vital library: assert-gooder') +assert_gooder._VERSION = _VERSION +return assert_gooder