diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..e60915d --- /dev/null +++ b/init.lua @@ -0,0 +1,2 @@ +local path = string.gsub(..., "[^.]+$", "") +return require(path.."pt") diff --git a/pt.lua b/pt.lua index 19c7e4c..6fe9ef9 100755 --- a/pt.lua +++ b/pt.lua @@ -1,4 +1,5 @@ -local extra = require 'extra' +local path = string.gsub(..., "[^.]+$", "") +local extra = require(path.."extra") local opairs = extra.opairs local pt = {}