aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/test.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-27 03:01:41 +1000
committerDavid Walter Seikel2014-03-27 03:01:41 +1000
commit9106ee5d97278ce8bbd85b002a8ca213a342b718 (patch)
tree786b841d391459c58dd2ed6447284f65d995ced6 /ClientHamr/GuiLua/test.lua
parentTODO++ (diff)
downloadSledjHamr-9106ee5d97278ce8bbd85b002a8ca213a342b718.zip
SledjHamr-9106ee5d97278ce8bbd85b002a8ca213a342b718.tar.gz
SledjHamr-9106ee5d97278ce8bbd85b002a8ca213a342b718.tar.bz2
SledjHamr-9106ee5d97278ce8bbd85b002a8ca213a342b718.tar.xz
Proper copyright parsing.
Diffstat (limited to '')
-rw-r--r--ClientHamr/GuiLua/test.lua5
1 files changed, 3 insertions, 2 deletions
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 @@
3do -- Only I'm not gonna indent this. 3do -- Only I'm not gonna indent this.
4 4
5local skang = require 'skang' 5local skang = require 'skang'
6--On the other hand, having 'Copyright 2014 David Seikel' here makes the copyright self documenting. B-) 6local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[
7local _M = skang.moduleBegin('test', 'David Seikel', '2014', '0.0', '2014-03-19 14:01:00', [[
8#!skang test.skang -- This is Lua, so this might not work. 7#!skang test.skang -- This is Lua, so this might not work.
9 8
10-- There's an implied local this = require 'test' 9-- There's an implied local this = require 'test'
@@ -49,6 +48,8 @@ end
49local skang = require 'skang' 48local skang = require 'skang'
50local test = require 'test' 49local test = require 'test'
51 50
51print('MODULE ' .. test._NAME .. ', ' .. test.COPYRIGHT .. ' Version: ' .. test.VERSION .. '\n' .. test.VERSION_DESC .. '\n')
52
52print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) 53print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help)
53print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) 54print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action)
54test.ffunc('one', 2) 55test.ffunc('one', 2)