summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-05-29 16:02:17 +0930
committerMark Pulford <mark@kyne.com.au>2011-05-29 16:02:17 +0930
commitc0b473a8e974407dc308ce0fd0058136b9faa90c (patch)
tree519eb6e070779dd9cd3877c2f31cb53251fde50e
parentccd65d7b468f7052eed10aa652a38d3962bf2a61 (diff)
downloadlua-cjson-c0b473a8e974407dc308ce0fd0058136b9faa90c.tar.gz
lua-cjson-c0b473a8e974407dc308ce0fd0058136b9faa90c.tar.bz2
lua-cjson-c0b473a8e974407dc308ce0fd0058136b9faa90c.zip
Use .zip format with LuaRocks
Windows has poor support for "tar.gz", but all platforms support "zip".
-rw-r--r--Makefile2
-rw-r--r--lua-cjson-1.0.1-1.rockspec2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4db43b7..7ab8fd4 100644
--- a/Makefile
+++ b/Makefile
@@ -38,3 +38,5 @@ clean:
38package: 38package:
39 git archive --prefix="lua-cjson-$(CJSON_VERSION)/" master | \ 39 git archive --prefix="lua-cjson-$(CJSON_VERSION)/" master | \
40 gzip -9 > "lua-cjson-$(CJSON_VERSION).tar.gz" 40 gzip -9 > "lua-cjson-$(CJSON_VERSION).tar.gz"
41 git archive --prefix="lua-cjson-$(CJSON_VERSION)/" \
42 -o "lua-cjson-$(CJSON_VERSION).zip" master
diff --git a/lua-cjson-1.0.1-1.rockspec b/lua-cjson-1.0.1-1.rockspec
index aa89fd3..ea9b82a 100644
--- a/lua-cjson-1.0.1-1.rockspec
+++ b/lua-cjson-1.0.1-1.rockspec
@@ -2,7 +2,7 @@ package = "lua-cjson"
2version = "1.0.1-1" 2version = "1.0.1-1"
3 3
4source = { 4source = {
5 url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.1.tar.gz", 5 url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.1.zip",
6} 6}
7 7
8description = { 8description = {