|
|
@ -1,11 +1,13 @@
|
|
|
|
-- widget test utility
|
|
|
|
-- widget test utility
|
|
|
|
-- usage: ./luajit tools/wtest.lua
|
|
|
|
-- usage: ./luajit tools/wtest.lua
|
|
|
|
|
|
|
|
|
|
|
|
require "defaults"
|
|
|
|
|
|
|
|
print(package.path)
|
|
|
|
print(package.path)
|
|
|
|
package.path = "common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path
|
|
|
|
package.path = "common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path
|
|
|
|
package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;rocks/lib/lua/5.1/?.so;" .. package.cpath
|
|
|
|
package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;rocks/lib/lua/5.1/?.so;" .. package.cpath
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Load default settings
|
|
|
|
|
|
|
|
G_defaults = require("luadefaults"):open()
|
|
|
|
|
|
|
|
|
|
|
|
local DataStorage = require("datastorage")
|
|
|
|
local DataStorage = require("datastorage")
|
|
|
|
local _ = require("gettext")
|
|
|
|
local _ = require("gettext")
|
|
|
|
|
|
|
|
|
|
|
|