diff --git a/lua/path/module.lua b/lua/path/module.lua index f246eb4..8daf908 100644 --- a/lua/path/module.lua +++ b/lua/path/module.lua @@ -1,4 +1,4 @@ return{ _NAME = "PATH lua library"; - _VERSION = nil; + _VERSION = "0.2.0"; } \ No newline at end of file diff --git a/rockspecs/lua-path-0.2.0-1.rockspec b/rockspecs/lua-path-0.2.0-1.rockspec new file mode 100644 index 0000000..7b2cd08 --- /dev/null +++ b/rockspecs/lua-path-0.2.0-1.rockspec @@ -0,0 +1,46 @@ +package = "lua-path" +version = "0.2.0-1" +source = { + url = "https://github.com/moteus/lua-path/archive/v0.2.0.zip", + dir = "lua-path-0.2.0", +} + +description = { + summary = "File system path manipulation library", + detailed = [[ + ]], + homepage = "https://github.com/moteus/lua-path", + license = "MIT/X11", +} + +dependencies = { + "lua >= 5.1, < 5.3", + -- "luafilesystem >= 1.4", + -- "alien >= 0.7.0", -- instead lfs on windows +} + +build = { + type = "builtin", + copy_directories = { + "test", + }, + modules = { + ["path" ] = "lua/path.lua", + ["path.fs" ] = "lua/path/fs.lua", + ["path.findfile" ] = "lua/path/findfile.lua", + ["path.lfs.fs" ] = "lua/path/lfs/fs.lua", + ["path.module" ] = "lua/path/module.lua", + ["path.win32.alien.fs" ] = "lua/path/win32/alien/fs.lua", + ["path.win32.alien.types" ] = "lua/path/win32/alien/types.lua", + ["path.win32.alien.utils" ] = "lua/path/win32/alien/utils.lua", + ["path.win32.alien.wcs" ] = "lua/path/win32/alien/wcs.lua", + ["path.win32.ffi.fs" ] = "lua/path/win32/ffi/fs.lua", + ["path.win32.ffi.types" ] = "lua/path/win32/ffi/types.lua", + ["path.win32.ffi.wcs" ] = "lua/path/win32/ffi/wcs.lua", + ["path.win32.fs" ] = "lua/path/win32/fs.lua", + ["path.win32.wcs" ] = "lua/path/win32/wcs.lua", + } +} + + +