mirror of https://github.com/koreader/koreader
refactoring utils to tools as discussed in #2197
parent
7857f6964b
commit
9afad43a3e
@ -1,5 +1,5 @@
|
|||||||
-- touch probe utility
|
-- touch probe utility
|
||||||
-- usage: ./luajit util/kobo_touch_probe.lua
|
-- usage: ./luajit tools/kobo_touch_probe.lua
|
||||||
|
|
||||||
require "defaults"
|
require "defaults"
|
||||||
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
|
@ -1,5 +1,5 @@
|
|||||||
-- trace package loading flow with require call
|
-- trace package loading flow with require call
|
||||||
-- usage: ./luajit -lutils/trace_require reader.lua ../../test
|
-- usage: ./luajit -ltools/trace_require reader.lua ../../test
|
||||||
|
|
||||||
local math = require("math")
|
local math = require("math")
|
||||||
local _require = require
|
local _require = require
|
@ -1,5 +1,5 @@
|
|||||||
-- widget test utility
|
-- widget test utility
|
||||||
-- usage: ./luajit util/wtest.lua
|
-- usage: ./luajit tools/wtest.lua
|
||||||
|
|
||||||
require "defaults"
|
require "defaults"
|
||||||
print(package.path)
|
print(package.path)
|
Loading…
Reference in New Issue