diff options
author | dvs1 | 2024-10-28 23:30:04 +1000 |
---|---|---|
committer | dvs1 | 2024-10-28 23:30:04 +1000 |
commit | b1d60bb06a493b1bd02ea4f02ec7b3656063dba3 (patch) | |
tree | 6e91329cc7e7db31c31b0fa6dfc06ef907bff428 /test_.lua | |
parent | Minor tweaks. (diff) | |
download | JackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.zip JackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.tar.gz JackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.tar.bz2 JackOnAllDevices-b1d60bb06a493b1bd02ea4f02ec7b3656063dba3.tar.xz |
Various minor tweaks and cleanups.
Diffstat (limited to '')
-rwxr-xr-x | test_.lua | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,11 @@ | |||
1 | #!/usr/bin/env luajit | 1 | #!/usr/bin/env luajit |
2 | 2 | ||
3 | if type(jit) == 'table' then | ||
4 | print(arg[0] .. ' is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '. Lua version ' .. _VERSION) | ||
5 | else | ||
6 | print(arg[0] .. ' is being run by Lua version ' .. _VERSION) | ||
7 | end | ||
8 | |||
3 | 9 | ||
4 | local _ = require 'PolygLua' | 10 | local _ = require 'PolygLua' |
5 | 11 | ||
@@ -159,3 +165,4 @@ __'date':log():show():Do() | |||
159 | -- Should get that "later" thing printed while the sleep is happening. | 165 | -- Should get that "later" thing printed while the sleep is happening. |
160 | __'date; sleep 5; date':log():show():Do() | 166 | __'date; sleep 5; date':log():show():Do() |
161 | 167 | ||
168 | |||