From 72ee056eeaf946cb9ec4601a2a174acf90cad72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Fri, 20 Apr 2018 22:11:05 +0200 Subject: [PATCH] Use my fork of lua-zip ("misterda/lua-libzip") to support Lua 5.3 --- README.md | 9 ++++----- rockspecs/love-release-scm-1.rockspec | 4 ++-- src/script.lua | 2 +- src/scripts/macosx.lua | 2 +- src/scripts/windows.lua | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3c154f6..292ff28 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![LuaRocks](https://img.shields.io/badge/LuaRocks-2.0.5-blue.svg)](https://luarocks.org/modules/rucikir/love-release) ![Lua](https://img.shields.io/badge/Lua-5.1%2C%20JIT-blue.svg) -[Lua][lua] 5.1 script that makes [LÖVE][love] game release easier (previously Bash script). +[Lua][lua] script that makes [LÖVE][love] game release easier (previously Bash script). Automates LÖVE [Game Distribution][game_dist]. LÖVE [forum topic][forum_topic]. Available as a [LuaRocks][luarocks] [package][package]. @@ -85,9 +85,8 @@ end love-release is only installable through LuaRocks and highly depends on LuaRocks internal API. love-release is currently build on LuaRocks 2.3.0. LuaRocks API is not meant to be stable, and a future update could break love-release. As love-release is made for LÖVE, it is written for Lua 5.1. #### Required -- [libzip][libzip] headers for lua-zip. -- [lua-zip][lua-zip] has no official stable version, thus while available on LuaRocks it must be installed manually. -- Other libraries are automatically installed, but let's give them some credit: [luafilesystem][lfs], [loadconf][loadconf], [middleclass][middleclass], [semver][semver]. +- [libzip][libzip] headers for lua-libzip. +- Other libraries are automatically installed, but let's give them some credit: [lua-libzip][lua-libzip], [luafilesystem][lfs], [loadconf][loadconf], [middleclass][middleclass], [semver][semver]. #### Optional - `love` can be used to determine your system LÖVE version. @@ -131,7 +130,7 @@ Every bug report or feature request is gladly welcome ! [lua]: http://www.lua.org/ [luajit]: http://luajit.org/ [luarocks]: https://luarocks.org/ -[lua-zip]: https://github.com/brimworks/lua-zip +[lua-libzip]: https://github.com/misterda/lua-zip [loadconf]: https://github.com/Alloyed/loadconf [middleclass]: https://github.com/kikito/middleclass [package]: https://luarocks.org/modules/rucikir/love-release diff --git a/rockspecs/love-release-scm-1.rockspec b/rockspecs/love-release-scm-1.rockspec index d6fece3..9c2c2a8 100644 --- a/rockspecs/love-release-scm-1.rockspec +++ b/rockspecs/love-release-scm-1.rockspec @@ -15,9 +15,9 @@ It automates LÖVE Game Distribution. dependencies = { "argparse", "loadconf", - "lua ~> 5.1", + "lua", "luafilesystem", - "lua-zip", + "lua-libzip", "middleclass", } build = { diff --git a/src/script.lua b/src/script.lua index 1a0ea6a..783b727 100644 --- a/src/script.lua +++ b/src/script.lua @@ -4,7 +4,7 @@ local fs = require 'luarocks.fs' local class = require 'middleclass' local lfs = require "lfs" -local zip = require 'brimworks.zip' +local zip = require 'misterda.zip' local utils = require 'love-release.utils' local Script = class('Script') diff --git a/src/scripts/macosx.lua b/src/scripts/macosx.lua index f21998e..1412933 100644 --- a/src/scripts/macosx.lua +++ b/src/scripts/macosx.lua @@ -3,7 +3,7 @@ -- @usage macosx(project) local fs = require "luarocks.fs" -local zip = require "brimworks.zip" +local zip = require "misterda.zip" local Script = require "love-release.script" local utils = require "love-release.utils" local ver = utils.love.ver diff --git a/src/scripts/windows.lua b/src/scripts/windows.lua index a4b4cc0..189436a 100644 --- a/src/scripts/windows.lua +++ b/src/scripts/windows.lua @@ -3,7 +3,7 @@ -- @usage windows(project) local fs = require "luarocks.fs" -local zip = require "brimworks.zip" +local zip = require "misterda.zip" local Script = require "love-release.script" local utils = require "love-release.utils" local ver = utils.love.ver