From 9106ee5d97278ce8bbd85b002a8ca213a342b718 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 27 Mar 2014 03:01:41 +1000 Subject: Proper copyright parsing. --- ClientHamr/GuiLua/test.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ClientHamr/GuiLua/test.lua') diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua index 96d46e6..f3dcb62 100644 --- a/ClientHamr/GuiLua/test.lua +++ b/ClientHamr/GuiLua/test.lua @@ -3,8 +3,7 @@ do -- Only I'm not gonna indent this. local skang = require 'skang' ---On the other hand, having 'Copyright 2014 David Seikel' here makes the copyright self documenting. B-) -local _M = skang.moduleBegin('test', 'David Seikel', '2014', '0.0', '2014-03-19 14:01:00', [[ +local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ #!skang test.skang -- This is Lua, so this might not work. -- There's an implied local this = require 'test' @@ -49,6 +48,8 @@ end local skang = require 'skang' local test = require 'test' +print('MODULE ' .. test._NAME .. ', ' .. test.COPYRIGHT .. ' Version: ' .. test.VERSION .. '\n' .. test.VERSION_DESC .. '\n') + print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) test.ffunc('one', 2) -- cgit v1.1