moonscript, busted, penlight packages + debugger speed improvements
This commit is contained in:
9
busted/.package
Normal file
9
busted/.package
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
title = 'busted',
|
||||
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/moonscript',
|
||||
description = [[]],
|
||||
license = 'MIT',
|
||||
required = {
|
||||
'penlight',
|
||||
},
|
||||
}
|
||||
16
busted/depend/system.lua
Normal file
16
busted/depend/system.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
-- Returns the monotonic time the system has been up, in secconds.
|
||||
monotime = function()
|
||||
return os.clock()
|
||||
end,
|
||||
|
||||
-- Sleep for n seconds.
|
||||
sleep = function(n)
|
||||
os.sleep(n)
|
||||
end,
|
||||
|
||||
-- Returns the current system time, 1970 (UTC), in secconds.
|
||||
gettime = function()
|
||||
return os.epoch('utc') / 1000
|
||||
end,
|
||||
}
|
||||
5
busted/depend/term.lua
Normal file
5
busted/depend/term.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
isatty = function()
|
||||
return false
|
||||
end,
|
||||
}
|
||||
8
busted/etc/fstab
Normal file
8
busted/etc/fstab
Normal file
@@ -0,0 +1,8 @@
|
||||
packages/busted/busted urlfs https://raw.githubusercontent.com/Olivine-Labs/busted/master/bin/busted
|
||||
rom/modules/main/busted gitfs Olivine-Labs/busted/master/busted
|
||||
rom/modules/main/mediator.lua urlfs https://raw.githubusercontent.com/Olivine-Labs/mediator_lua/master/src/mediator.lua
|
||||
rom/modules/main/cliargs gitfs amireh/lua_cliargs/master/src/cliargs
|
||||
rom/modules/main/luassert gitfs Olivine-Labs/luassert/master/src
|
||||
rom/modules/main/say.lua urlfs https://raw.githubusercontent.com/Olivine-Labs/say/master/src/init.lua
|
||||
rom/modules/main/term.lua linkfs packages/busted/depend/term.lua
|
||||
rom/modules/main/system.lua linkfs packages/busted/depend/system.lua
|
||||
Reference in New Issue
Block a user