diff --git a/dist.info b/dist.info index 3cea639..3273515 100644 --- a/dist.info +++ b/dist.info @@ -1,5 +1,5 @@ name = "lua-path" -version = "0.3.0" +version = "0.3.1" desc = "File system path manipulation library" author = "Alexey Melnichuk" diff --git a/lua/path/module.lua b/lua/path/module.lua index e779746..a7374e8 100644 --- a/lua/path/module.lua +++ b/lua/path/module.lua @@ -2,7 +2,7 @@ -- -- Author: Alexey Melnichuk -- --- Copyright (C) 2013-2016 Alexey Melnichuk +-- Copyright (C) 2013-2018 Alexey Melnichuk -- -- Licensed according to the included 'LICENCE' document -- @@ -12,7 +12,7 @@ return{ _NAME = "path"; - _VERSION = "0.3.1-dev"; - _COPYRIGHT = "Copyright (C) 2013-2016 Alexey Melnichuk"; + _VERSION = "0.3.1"; + _COPYRIGHT = "Copyright (C) 2013-2018 Alexey Melnichuk"; _LICENSE = "MIT"; } \ No newline at end of file diff --git a/rockspecs/lua-path-0.3.1-1.rockspec b/rockspecs/lua-path-0.3.1-1.rockspec new file mode 100644 index 0000000..5b88b4f --- /dev/null +++ b/rockspecs/lua-path-0.3.1-1.rockspec @@ -0,0 +1,47 @@ +package = "lua-path" +version = "0.3.1-1" +source = { + url = "https://github.com/moteus/lua-path/archive/v0.3.1.zip", + dir = "lua-path-0.3.1", +} + +description = { + summary = "File system path manipulation library", + detailed = [[ + ]], + homepage = "https://github.com/moteus/lua-path", + license = "MIT/X11", +} + +dependencies = { + "lua >= 5.1, < 5.4", + -- "luafilesystem >= 1.4", + -- "alien >= 0.7.0", -- instead lfs on windows +} + +build = { + type = "builtin", + copy_directories = { + "doc", + "examples", + "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.syscall.fs" ] = "lua/path/syscall/fs.lua", + ["path.lfs.impl.fs" ] = "lua/path/lfs/impl/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", + } +}