diff options
author | David Walter Seikel | 2014-03-27 03:01:41 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-27 03:01:41 +1000 |
commit | 9106ee5d97278ce8bbd85b002a8ca213a342b718 (patch) | |
tree | 786b841d391459c58dd2ed6447284f65d995ced6 /ClientHamr/GuiLua/test.lua | |
parent | TODO++ (diff) | |
download | SledjHamr-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.lua | 5 |
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 @@ | |||
3 | do -- Only I'm not gonna indent this. | 3 | do -- Only I'm not gonna indent this. |
4 | 4 | ||
5 | local skang = require 'skang' | 5 | local skang = require 'skang' |
6 | --On the other hand, having 'Copyright 2014 David Seikel' here makes the copyright self documenting. B-) | 6 | local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ |
7 | local _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 | |||
49 | local skang = require 'skang' | 48 | local skang = require 'skang' |
50 | local test = require 'test' | 49 | local test = require 'test' |
51 | 50 | ||
51 | print('MODULE ' .. test._NAME .. ', ' .. test.COPYRIGHT .. ' Version: ' .. test.VERSION .. '\n' .. test.VERSION_DESC .. '\n') | ||
52 | |||
52 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) | 53 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) |
53 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) | 54 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) |
54 | test.ffunc('one', 2) | 55 | test.ffunc('one', 2) |